Not signed in (Sign In)

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorColin Ford
    • CommentTimeAug 14th 2009
     
    hey, i tried uploading a photo that i couldn't save as jpeg in photoshop, so i labeled it .jpg when saving to try to trick the computer. when i uploaded the photo into one of my collections, all the thumbnails were gone and they were replaced by mostly just a bunch of code or some shit that starts off with "failed...", blah, blah blah. i tried removing the photo, but i can't even get into the manage area of the collection. what can i do???!!!!
    •  
      CommentAuthorsidtheduck
    • CommentTimeAug 17th 2009
     
    shawnmb,

    This is not a limitation of Plogger (or necessarily the other image galleries either), but a limitation of your PHP installation on your web host. To create thumbnails, your server needs the necessary temporary memory (memory_limit variable) and time to run the script (max_execution_time). This fails when you are dealing with large images as most servers have a fairly small memory_limit and max_execution_time, especially if they are on a shared hosting package so one site is not using 100% of the server's resources to resize images, etc. Plogger (and some other image galleries) attempt to increase the memory_limit and max_execution_time in the code, but sometimes this is not enough for the large images either or the server is set up to disable the workarounds included in the gallery code. Either way you will need to talk to you host about increasing the limitations for server processes or work with smaller images.



    Colin Ford,

    If you cannot save a file as jpeg in Photoshop, it is most likely not in RGB mode so "tricking" it to be saved as a .jpg file will cause a corrupt image file which will freak out any script using it. You should be able to log into your server via FTP and delete the image file directly and then you should be able to delete the image from the database using the Manage tab.