Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, biapar, Willr, Ingo, swaiba, simon_w

Uploadify and ImageGallery


Reply


2 Posts   6247 Views

Avatar
Christy

Community Member, 58 Posts

3 October 2010 at 10:29pm

I am using SS 2.4.2, ImageGallery 493, DOM 504 and Uploadify.

I had a site ready to go live with working photo albums. There were difficulties uploading so after reading the forum I downloaded Uploadify.

All downhill from there! Uploadify appeared to upload new files correctly but then showed an HTTP error and didn't display a thumbnail. If I tried to load files through Files and Images, the albums displayed the grey missing image icon. There were also miscellaneous other errors - unable to save pages, unable to delete albums and folders in Files and Images.

I removed the imagegallery module and deleted all imagegallery tables from the database, flushed and reloaded a fresh copy of the module.

I can now delete the old F&I folders but the HTTP error is still there. When a new album was created it also created in the database a new_imagegallerypage folder and a page-0 folder. Still getting the missing image icon.

Could it be something to do with paths?

Can anyone point me in the right direction please? Many, many hours later am desperate to go live! Thanks.

Avatar
Plato

Community Member, 26 Posts

2 November 2010 at 11:45am

Edited: 02/11/2010 12:37pm

Hi there Christy,

The ImageGallery module(s) have not been updated for some time so far as I know (it's been quite some time since I last looked at them). Our resident tanker Frank has worked on his own gallery class using the DOM module.

http://deadlytechnology.com/silverstripe/silverstripe-image-gallery/

This blog entry will guide you through the process :)

But as to your upload issues, it sounds similar to one we had with swfupload. It's to do with mod_security, and can be passed with a few lines in the .htconfig for your site.

The details again are covered in Frank's tutorial above, but for speeds sake:

<IfModule mod_security.c>
   SecFilterEngine Off
</IfModule>

If it's not a permissions issue, then it could be a memory issue (reaching the limit while GD tries to resize your uploaded images).
This line in your .htaccess should help

php_value memory_limit 128M

Hope this helps.
(I realise it's probably a bit late, but someone else may be having a similar issue and searching for an answer... it's how I found your post).