MyBBHacks.com Plugins for  MyBB
Responsive Image Sizing - Option to Disable? - Printable Version

+- MyBBHacks.com Plugins for MyBB (https://www.mybbhacks.com)
+-- Forum: ezGallery Pro for MyBB (https://www.mybbhacks.com/forumdisplay.php?fid=8)
+--- Forum: Support (https://www.mybbhacks.com/forumdisplay.php?fid=10)
+--- Thread: Responsive Image Sizing - Option to Disable? (/showthread.php?tid=3634)



Responsive Image Sizing - Option to Disable? - elizabeth - 11-15-2022

We recently went from ezGallery 5.5.1 to 5.5.5.

Since that upgrade, my users on PCs with ordinary displays are having trouble with the size of the images. We have our site set so that the site automatically resizes overlarge images to a max width of 1000 pixels, with no height restriction (setting a maximum height produces distortion for portrait-oriented images).

With the responsive image upgrade, the site now widens the image so much that it cannot be viewed in its entirety (the height dimension increases so much that only half the image can be seen at any one time - I've attached a sample screenshot). This only improves if you reduce the size of the window.

Additionally, because images are stretched to fit the window dimensions, they become somewhat blurry as they are stretched beyond their original dimensions.

Is there any way to make it so that we can disable the responsive image sizing?

Thanks as always for your help - we love the software and have many many people using it!


RE: Responsive Image Sizing - Option to Disable? - elizabeth - 11-15-2022

Found this in another thread:


Code:
<style>
.gresponsive {
  width: 100%;
  height: auto;
}
</style>


I've got no problem with deleting that if that's all there is to it (although my guess is that this replaced some other css instruction re: image width, and if so, I'd need to replace rather than just delete). Just need a reminder on what file it's in.


RE: Responsive Image Sizing - Option to Disable? - MyBBHacks - 11-15-2022

That would be a quick fix. Till I add an option to turn off.


RE: Responsive Image Sizing - Option to Disable? - elizabeth - 11-15-2022

Great - was there some other style dealing with image width before .gresponsive was added?

And what file is that style in?

thanks!


RE: Responsive Image Sizing - Option to Disable? - MyBBHacks - 11-15-2022

I believe that was it.


RE: Responsive Image Sizing - Option to Disable? - LEELY - 11-07-2023

Hello! Just wondering where I can find the .gresponsive style code?

Thanks in advance!


RE: Responsive Image Sizing - Option to Disable? - MyBBHacks - 11-07-2023

in ezgallery.php in the root of your MyBB forum.