I'm implementing the Gallery component on a site that I'm currently building. I'm following Shaun's tutorial on this page:
http://rtfm.modx.com/display/ADDON/Gallery.Setting+Up+Your+Gallery
What I did first was to implement and test this tutorial on another site...one I have set up just to test new things in MODx...and got it running okay. I was able to upload images from within the Components>Gallery page, etc.
I then took all the code I got created on this test site and transferred it to the site I'm building exactly. No changes. Same server. Same version of MODx (2.1.3). Everything the same.
On the new site, I used the Gallery component to upload a batch of images (from Components>Gallery), just like I did on the test site. They seemed to upload okay. I don't think the images are too huge (between 30k and 70k).
Not sure if I was supposed to do this, but I made sure the assets > components > gallery > files directory, as well as the image directory under that, were readable/writable.
The problem is that on the front end, there are no images appearing. I do see the the different image names arranged in the grid and when I click on a name (where the thumbnail would go), the top large image changes accordingly. The script seems to be running okay...just the images are not appearing.
After troubleshooting this thing for a whole lot more time than I should be, the only thing I can think of that is different between this new site and my test site is that the new site, at this point, does not have the domain name pointing to it. I'm viewing it from the IP address.
I would not think this has anything to do with my problem but at this point it's the only thing I can think of that is different between the two sites.
Please take a look at the screen shot to see what I'm seeing on the front end.
Thank you in advance.
MODx 2.1.3
PHP Version 5.2.10
[ed. note: waizen last edited this post 14 years, 9 months ago.]