PDA

View Full Version : Problem with vbGallery creating thumbnails from uploaded images


sydude
10-29-2014, 12:35 AM
Hi guys. I have a new issue that's come up that I can't figure out on a very long-time running vbulletin and vbgallery installation, and would appreciate your help in figuring out what the problem is.

In a nutshell, when a user uploads a picture in vbGallery, it correctly converts the full size image into a window-sized version and a thumbnail version, but it doesn't save the filenames correctly.

For example, if two images are uploaded with the names 'img001.jpg' and 'img002.jpg', vbgallery should:

1) save the original full-sized image as 'img001_original.jpg', then
2) save a medium-sized version to 'img001.jpg', then
3) save a thumbnail version to 'img001_thumb.jpg', and also
4) write these filenames to the database

But what has recently occurred is that it's stripping out the original filename when creating the original and thumbnail versions, writing only '_original.jpg' and '_thumb.jpg' for every single uploaded file. So there is only one original image and one thumbnail in each category/directory. It does this both on the server as well as the database.

The problem occurs on both my live as well as my testing server. Here's the problem on the test server if you want to try it out.

Your help would be greatly appreciated!

Sydude

ozzy47
10-29-2014, 12:38 AM
Questions/Problems regarding modifications/styles need to be asked in the modification/style thread. That is where the support for modification/style is - not out here in the main forums. Please note that if a modification/style is unsupported (or even if it says it is supported), you may be on your own if you chose to install it. :)

tbworld
10-29-2014, 02:11 AM
If you are running PHP 5.4, vbGallery is not compatible (unless chuck has updated it) and it will have to be updated by a third party. Photopost has never really supported the vbGallery product as they won it in some kind of settlement. Move to the photopost pro product, if your support is up to date and you wish not to pay a consultant to bring it up to date. We do not discuss the commercial product here on vbulletin.org -- for that you need to see the products website. Good luck and you have my sympathy. :)

Maybe one of our wonderful vBiulletin moderators would move this thread to the proper modification. :)

sydude
10-29-2014, 08:04 PM
If you are running PHP 5.4, vbGallery is not compatible (unless chuck has updated it) and it will have to be updated by a third party. Photopost has never really supported the vbGallery product as they won it in some kind of settlement. Move to the photopost pro product, if your support is up to date and you wish not to pay a consultant to bring it up to date. We do not discuss the commercial product here on vbulletin.org -- for that you need to see the products website. Good luck and you have my sympathy. :)

Maybe one of our wonderful vBiulletin moderators would move this thread to the proper modification. :)

BINGO, that is the issue completely. Thank you very much, I really appreciate it. I've just read that evidently my entire vbulletin install (3.8.4) is incompatible with PHP 5.4 as well, even though it seems to be working fine. And I'm out of support for both vbgallery/photopost as well as vbulletin, so no free or reasonably priced updates to resolve this issue. I'm going to try to get my host to downgrade me to PGP 5.2..