Scale maximum Width & Height for any image that uses the Core Image manager
Permalink
I am using the In Portfolio add-on and a limitation is that it grabs the full file size of the various images when displaying them in a lightbox and is not scaling them down to fit the max height of the screen. I want to set the core C5 image Width & Height to 800 x 600. That way, regardless of whether it is an add-on or the core lightbox etc., the images will never exceed those dimensions.
I found this on Github...https://github.com/concrete5/concrete5/blob/master/web/concrete/core...
Is this what I modify and what specifically do I modify to create the 800 x 600 ratio for everything?
I found this on Github...https://github.com/concrete5/concrete5/blob/master/web/concrete/core...
Is this what I modify and what specifically do I modify to create the 800 x 600 ratio for everything?
Have you tried any CSS to modify the view? I would think you may rather modify CSS as opposed to the core itself...
Good idea... I messed with the CSS in firebug and then copied it verbatim. When I modified the actual CSS files and swapped them out the images no longer loaded. The window is the proper size and everything appears fine but the loading icon just spins. When I swap the original CSS back in it works fine again.