splittingred / Gallery

A Gallery add-on for MODx Revolution.
http://svn.modxcms.com/docs/display/ADDON/Gallery
67 stars 61 forks source link

Gallery images do not display #287

Open webo880 opened 10 years ago

webo880 commented 10 years ago

I've used Gallery on many previous Modx websites but this is the first one in Modx 3.1 The gallery images neither appear in the gallery management not on the web pages themselves. All that displays is the image file name as a link. Also, there is no way to delete images from a Gallery - I've tried reinstalling it but no difference

webo880 commented 10 years ago

I've got it working to some degree, but there seems to be an issue with the file paths. The image thumbnails ion the Gallery manager do not display, neither does the gallery fine the images in the web page.

rygar4321 commented 10 years ago

i have the same problem

but I managed to find some clues what is happening: Gallery is injecting the BaseURL and BasePath values from the first Media Source that is defined in the system (even if this media source has nothing to do with gallery), ie Media Source that has id=1

I changed those values and indeed - paths generated by gallery also changed accordingly, so that is source where Gallery takes its path values from but no idea how to fix it

there is probably workaround - change problematic media source (usually use "/" as value for both paths) and define other media source for TV that you used

in fact, instead of fixing this bug, I would love to see ability to define media sources for each gallery. It would be great feature considering Gallery's nesting ability