1

Im having a bit of trouble making photoswipe work for my rails project.

I can show url images using href in the lightbox type gallery by photoswipe but when I try to show pictures uploaded by users and use the image_tag it will not work!

The code under the "Original gallery" heading is how I currently display images from the database and under the "Test gallery" is how photoswipe displays images using href. Im sure its something simple I'm missing but how can I combine the two to show the images from my ruby project in the photoswipe provided code?

enter image description here

Oliver Howes
  • 161
  • 1
  • 3
  • 9

0 Answers0