Home › Forums › Free Themes › Photo Perfect › Gallery Issue with Mobile
- This topic has 13 replies, 2 voices, and was last updated 8 years, 11 months ago by wensolutions.
-
AuthorPosts
-
January 9, 2016 at 6:26 pm #816rich_miller86Participant
Hi,
I have just finished my site using your theme today and love it so far…..
But 1 issue is really bugging me. When viewing the gallery on my ipad, some of my images are being stretched….(not good to make fat brides lol)
Hoping its an easy fix?
Thanks
January 10, 2016 at 2:14 am #817wensolutionsKeymasterHi @rich_miller86,
We have tried to view your site’s gallery page in iPad to verify the image stretched issue like you have described above. However we haven’t found any such issue while viewing your gallery images. So would you please specifically share us it’s screenshot link so that we could verify it again and come up with the solution?
Thank you for your time.
January 10, 2016 at 6:28 am #818rich_miller86ParticipantI will try and send a screenshot later. It’s mainly noticeable when you turn the iPad or phone on its side (landscape) when viewing a portrait photo
Thanks
January 10, 2016 at 7:15 am #822wensolutionsKeymasterYa sure, we will verify screenshot and try fixing it for you. Thanks.
January 10, 2016 at 7:22 am #823rich_miller86ParticipantSo here is the current issue…
Most of the time it does this, other times everything will fit but be super small….I have no cache plugin installed currently so it can’t be that…
Thanks
January 10, 2016 at 11:42 am #824rich_miller86ParticipantNot too sure if I can disable the gallery within the theme and try another fancybox??
January 10, 2016 at 12:09 pm #825wensolutionsKeymasterActually now looking on this issue. Probably you would not need to switch to another fancybox or disable the gallery because it’s seen that the lightbox image CSS property has overridden the default image width to make it look a bit stretched. Therefore, some custom CSS code will soon be provided to you here to overcome this issue.
Thank you for patience.
January 10, 2016 at 12:21 pm #826rich_miller86ParticipantThanks so much. I look forward to the solution.
🙂January 11, 2016 at 6:01 am #829wensolutionsKeymasterIt appears that this issue is not specifically arise from this theme itself. Also tested the gallery with fresh theme http://wensolutions.com/themereview2/test on iPad.
However, you can try putting the following CSS snippet in Appearance -> Customize -> Theme Options -> Advanced Options. This should take the exact image width without stretching it.
.pbWrapper > img{ width : auto; }
Hope this would resolve your current issue.
January 11, 2016 at 2:28 pm #831rich_miller86ParticipantThanks for looking into that…
It looks much better now. Still slightly stretched on the portrait images when I turn the ipad sideways but I can deal with that…
Just out of curiosity is there a way I can disable the lightbox in this theme?
Thanks for all your help
January 11, 2016 at 2:39 pm #832rich_miller86ParticipantAh actually its still not working….The only other thing I can thing to do is disable the lightbox and use another…?
January 11, 2016 at 11:15 pm #833wensolutionsKeymasterCurrently, there is no option to disable the lightbox ( photobox jquery) and choose or load the alternative one. Although this is not a recommended way but if you wish you can try manually dequeue photobox jquery from code and install lightbox plugin but in turn this could effect current masonry layout design of your gallery page.
Therefore, if it’s possible please check by disabling your third-party plugin one at a time to verify any CSS overrides on this part. Since it’s been verified earlier that there is no bug in theme itself, it could be the reason of any other external plugin.
January 23, 2016 at 12:46 pm #1001rich_miller86ParticipantThanks…Any idea where to start with disabling the inbuilt fancybox or does it involve a hell of a lot of work?
January 23, 2016 at 9:58 pm #1008wensolutionsKeymasterYes as per your requirement to replace the existing lightbox you would need to go customize the code and override parent files from Child Theme approach.
Along with this you would need to work around with the design adjustments. If you do not feel comfortable playing with codes we recommend you to Hire a Customizer for all these tweaks needed.
Thanks
-
AuthorPosts
- You must be logged in to reply to this topic.