Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In my application, I found that the loading icon keeps after loading the image as show in the attachment.
My setting config:
The photo gallery is shown by "View"
->Image:Image
->Colorbox trigger:Image/Auto-generate gallery
Thanks for bro's help...........
Comment | File | Size | Author |
---|---|---|---|
#2 | colorbox_issue.JPG | 57.59 KB | kfwong5e |
Comments
Comment #1
frjo CreditAttribution: frjo commentedThe attachment didn't make it, please try to repost it.
What modules are you using for your gallery?
Is there an example site where we can see this problem?
Comment #2
kfwong5e CreditAttribution: kfwong5e commentedModule:
Image
Image Gallery
View
Colorbox
Set "Colorbox Trigger" in view
It can generate the images with colorbox popup, but it seems not finished in loading picture as it keeps the "loading icon" and if i set to start the slideshow, it would not jump to next picture.
thanks....
Comment #3
frjo CreditAttribution: frjo commentedThe "Popup" field for the "Colorbox Trigger" should contain what you want to show in the Colorbox, in your view it's empty.
The image field you have selected as a the trigger field seems to be a thumbnail image linking to a big version, this mess up things. The trigger field should be a plain image or plain text.
I notice you are using the image module. If possible, I warmly recommend you to switch to the filefield/imagefield/imagecache modules instead. It a much more modern solution and they have been included in Drupal 7 core so it will be a lot easier when you upgrade. Colorbox has excellent support for these modules and you will fins it a lot easier to build your views.
Colorbox has decent image module support but all the code has been contributed by others since I never use that module myself.
Comment #4
kfwong5e CreditAttribution: kfwong5e commentedFixed.
I have set in Performance.
The loading icon disappear after loading picture.
New Setting
Site Configuration/Performance/Caching mode:
-- Set to Disable
Do you have any idea about it?
thanks bro....
Comment #5
frjo CreditAttribution: frjo commentedNo idea about that other than that you normally don't want to run a Drupal site without the cache enabled.
Comment #6
frjo CreditAttribution: frjo commentedI can't reproduce this. Please reopen if the problem persist.