For the first part (image width adapted to sreen for mobile) I mean something like what accour with video loaded with mediapress in the activity page, that adapts the width to the screen dimention
Thank’s!
Hi,
Thank you for posting.
1. Yes, It is possible to change Media size, I will explain in a bit.
Please do note that the MediaPress grid should automatically show 1 image per row on mobile screen. If it is not doing showing, It is a conflict with theme css.
About Size:- MediaPress stores 3 media sizes for each for the image. You can see these sizes registered here
https://github.com/buddydev/mediapress/blob/master/mpp-init.php#L119
You can add new sizes/ remove existing sizes by hooking to ‘mpp_setup_core’ action.
But most probably all you need is simple css fix for your theme to make the grid work properly. If you can point me to individual gallery, I may help with css.
Thank you
Brajesh
thank to you!
The grid shows correctly just one image per row for mobile and a grid with three images per row for desktop.
1- The point is that I don’t want fixed width (200×200) for mobile, I would like to see an image 100% the width of the screen (just for mobile, for desktop it’s ok to have a grid)
2. better if said grid (desktop visualization) autospaces the margin adapting them to the desktop dimension to have always the left margin for the first image and the right margin for the third image the same for different monitor pixel (that is working with percentages and not with number of pixel in the code).. but may be I want too much 🙂
Let me know if you need more details
thanks again