The latest dev does not open the pictures in a lightbox anymore.

CommentFileSizeAuthor
#5 Screenshot-2.png132.14 KBlsolesen

Comments

moloc’s picture

Cannot reproduce.
Clear browser / drupal cache. Is it still reproduceable?

lsolesen’s picture

Yes. Using the media_dev install profile and the media_gallery with the commits from today, and now it always opens as a page?

moloc’s picture

1. Installed a fresh version of drupal with the media_dev profile(from today) (latest stable version of all modules).
2. Enable media_gallery (+List, Number, Multiple forms) (media gallery from git)
3. Create a gallery (enter title -> save)
4. Add media (upload one image with plupload)
5. Click on the image --> lightbox opens

It is still not reproduceable.
Do you have the lightbox-option enabled in the gallery settings?

lsolesen’s picture

Issue tags: +Beta8-blockers

This is strange, but I need to resolve it before we can release next version of Media Gallery. I am using both firefox and chrome and I am using the steps you outligned. Still not opening in the lightbox.

lsolesen’s picture

StatusFileSize
new132.14 KB

Also having this problem at the moment on my local dev machine. Been flushing caches for everything. Must test on another dev machine soon.

moloc’s picture

Your screenshot looks like plupload issues. Is the library available, which version? Check status report of your site.

lsolesen’s picture

@Moloc thought that the issues were related because of some javascript stuff. Turns out that media_dev needs libraries to know that plupload is installed. #1672788: Libraries are needed for plupload

lsolesen’s picture

Used another server. The issue is still there.

1. drush make http://is.gd/8EKNFT --prepare-install media_dev
2. drush en media_gallery
3. drush en libraries
4. Add content --> Gallery
5. Create a gallery (enter title -> save)
6. Add media (from library - just the Druplicon)
7. Click on the image --> lightbox DOES not open

I put a Selenium Test case up here: https://github.com/lsolesen/media-gallery-testing. The last part of the test fails.

moloc’s picture

Thank you for the drush commands (i was not using drush in #3).
That is not a media_gallery issue.

The media_dev profile does not include the colorbox-library. Therefore it is not installed and the lightbox is not working. If you manually install colorbox-library, everything works fine.

(Note: Is it correct, that i have to install media_dev using the browser between step 1 and 2?)

lsolesen’s picture

Status: Active » Closed (works as designed)

@Moloc off course that is the issue. Then we are pretty much done for now. Thought about making a check in hook_requirements(), but this will probably soon be deprecated when adding optional lightbox-alternatives. #1311568: Integration with other lightbox alternatives