Hi,
Thank you for using MediaPress.
At the moment, It is not available out of the box but it can be achieved by template override.
if you are comfortable with code, Please let me know. I can suggest the wayto override it in your child theme/theme.
Thank you
Brajesh
Thread Starter
mnohtm
(@mnohtm)
Hi Brajesh
I am a little comfortable with code… can you suggest the way to override it in my child theme… thank you
Sorry for the delay.
1. Please create “mediapress/default/gallery/media/views” directory hierarchy in your theme.
Now, create a file lightbox-comment.php in the views directory and put this content
https://pastebin.com/pXCMH58U
After that, Please visit Dashboard->MediaPress->Settings and select the “Original” size for the lightbox.
You may need to modify the css a bit to make it look better.
Hope that helps.
Regards
Brajesh
Thread Starter
mnohtm
(@mnohtm)
Hi
I tried this but it did not work… after we made the changes you said we did not see where to select “original size for the lightbox” also when we click on image it does not open lightbox…so we removed the code u sent… any other idea?
or do you know if we can edit it directly in the file and what file will it be in?
Thank you for all your help.
Hi,
I am sorry for the delayed reply. I am not sure what it is happening.
We are adding media only lightbox to MediaPress. It will be part of our next release and you can enable it from the MediaPress->Settings->Themes section.
Regards
Brajesh
Hi,
The option is available now.
Please remove your custom template file.
After upgrading to 1.4.3, Please visit MediaPress->Settings->Theme panel and select “Media Only” lightbox.
Hope that helps.
Hi,
I marking it as resolved as we have the option available. Please feel free to reopen if you need any further assistance.
Regards
Brajesh