Download & Extend

Not opening in a lightbox

Project:Media Gallery
Version:7.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (works as designed)
Issue tags:Beta8-blockers

Issue Summary

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

Comments

#1

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

#2

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

#3

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?

#4

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.

#5

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

AttachmentSize
Screenshot-2.png 132.14 KB

#6

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

#7

@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

#8

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.

#9

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?)

#10

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