Results 1 to 4 of 4

Thread: image resizing!-PHP
      
   

  1. #1
    Dale B's Avatar
    Dale B is offline First Sergeant
    Join Date
    Feb 2007
    Location
    Australia
    Posts
    70

    Default image resizing!-PHP

    Hi,

    I have a classified car program with an inbuilt imager re-sizer, problem is it will not upload a standard picture straight from a camera.It states that the image is to large..


    So at the moment i must re-size in another program and then upload to my classifieds program which in turn changes it to 1 main picture(big) and thumbnails for the rest..This is cheesing of customers as they need to use 2 programs just to upload a picture to my classifieds program..

    The program states that
    "The value is accordingly to memory _size value that you have in php.ini. In usual cases(default), the memory_limit is set to 8M,which allow you to use images at about 5ooKb"

    Yet this program does not let me upload standard camera pictures of a car! I must resize using another program then upload to the classifieds which really defeats the purpose of having a resize program in the first place..

    Any advice members? Can i change something in control panel(PHP) to increase the upload feature i have now??

    Thank you to any reply's helping out!
    Dale

  2. #2
    Vasili's Avatar
    Vasili is offline Moderator
    Join Date
    Mar 2006
    Posts
    13,612

    Default Re: image resizing!-PHP

    No.

    But you can provide your Visitors that may not have any suitable software with a simple tool to re-format images they submit to you (and your specified max dimensions) ... why not simply provide a download link to the PixResizer ?

    Doing this not only simplifies things across the board, it also establishes something of a universiality for submissions that eases the variable issues that come from such a hodgepodge of submissions .... this is not so much of a size thing as it is a file reduction issue, which PixResizer will in fact do automatically, even if keeping the image the same size.

    http://www.vodahost.com/web-hosting-...r/?page_id=489
    . VodaWebs....Luxury Group
    * Success Is Potential Realized *

  3. #3
    Dale B's Avatar
    Dale B is offline First Sergeant
    Join Date
    Feb 2007
    Location
    Australia
    Posts
    70

    Default Re: image resizing!-PHP

    Thanks Vasili,

    That's exactly what i'm using now. Please understand i must compete with the heavy weights or i will loose out to them.

    In other words,when you go to "Top" car sites and upload your car picture, that's all you have to do..upload your standard picture and there program does the rest..Rather then using 2 programs for the same outcome!!!

    I did come across 1 site that you must use another program to resize your pictures before you may upload them..Well, lets say he's not doing to well!!

    Anyway thanks for that Vasili and lets see if anyone else wants to ad to this discussion..

    Cheers Vasili,
    Dale

  4. #4
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: image resizing!-PHP

    You can increase the memory_limit temporarily, for the time (a few seconds) of the upload, without violating the VH TOS as this is not a critical server resource . This is doable with a local php.ini file (which is allowed in VH accounts) placed in the same folder of the uploader/resizer script.

    In some VH accounts the the memory limit is (by default) 32 MB, in some others 16. 32 is the most common.
    So normally you should have no issues with big pictures.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49