colorbox/js/colorbox.js, when processing a elements with colorbox class, does not respect height and width query parameters in the URL.
For example:
<a href="/path_to_image/F1.large.jpg?width=800&height=600" title="Figure Title" class="colorbox" rel="gallery-fragment-images">
<img class="fragment-image" src="/path_to_image/F1.med.jpg">
</a>
Comments
Comment #0.0
phayes commentedfixing URL encoding
Comment #1
nagwani commentedAdd colorbox-load as well, seems to work.
Comment #2
frjo commentedAdd the class "colorbox-load" instead of "colorbox" if you need to set with and height etc.
Class "colorbox" gives fast and easy implementation for images in Colorbox.
For more complex solutions there is the "colotbox-load" feature.
Comment #3
phayes commentedThanks folks!
Comment #4
nagwani commentedAlso, enable the setting "Enable Colorbox Load" at /admin/config/media/colorbox
Comment #5.0
(not verified) commentedmaking file-path more explicit