By Adam O. on Monday, 23 July 2018
Posted in Technical Issues
Likes 0
Views 868
Votes 0
Hi there,

I've got a problem with EB thumbnails block. When I set on backend in Settings/Media image dimensions, it changes me only cover photo size.

Where can I change dimensions of generated images after clicking thumbnail? At now it generates me 1280 × 720 pixels image


I'll be very grateful for your help with this thread!
Best regards!
Adam
Hey there,

I am really sorry for the delay of this reply as it is a public holidays for us here.

Currently I am not sure which Easyblog version you use on your site, but you can try check what Javascript file it render on the composer page, you can view the page source then search for this media/com_easyblog/scripts/composer.

Once you know what JS file it render on the composer page, so try find that JS file and open it, search for this following code :

[gist type="php"]
mediaManager.getVariation(f,"small"),h=mediaManager.getVariation(f,"large")
[/gist]

Replace with

[gist type="php"]
mediaManager.getVariation(f,"small"),h=mediaManager.getVariation(f,"original")
[/gist]

So it will render the original size from that thumbnail pop up section, but this customisation code will not affect with your existing blog post, because those image pop up HTML code already stored in database.

You have to re-upload those image into your existing blog post in order to show the original image pop up.

Note : Make sure you have clear your backend and your browser cache and when you manually access this JS file on the browser .../media/com_easyblog/scripts/composer-xxx-xxx.js , it doesn't show your latest changes, mean somewhere already cached.
·
Monday, 10 September 2018 13:56
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Adam,

If you click on the thumbnail block image it will popup the image with large size that has been stored. It will not render thumbnail size for the popup. You actually can set max width and height for the upload image as shown: http://take.ms/ucl8q
·
Monday, 23 July 2018 13:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Fadhli,

no, you are wrong please look at attached screenshots. I have set on backend 2500px x 1700px in mentioned section, but it changes me ONLY dimension of cover photo - not popup images from thumbnails.

Screenshot 1: my settings
Scrennshot 2: my thumbnails in article
Screenshot 3: my popup image after click thumbnail (everytime displayed from 1280px x 720px image - never bigger, it generates me everytime the same dimension)
Screenshot 4: information about popup image, where you can see dimension of popup image

I don't know how to chage it and where - I've already discovered all the settings on backend...

Please... help me

Best regards!
Adam
·
Tuesday, 24 July 2018 00:23
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Adam,

As I said previously, the popup image is used large sized image, not the original size, where the size will not bigger as the original size http://take.ms/wQimU . Unfortunately, there is no setting for this at this point of time.
·
Tuesday, 24 July 2018 13:03
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Muhammad, I understand, that the popup image is used large sized image and there is no setting for this at this point of time.

But my question is, in which file and line of code I can change dimension of large image file generated in the future?

When I click on thumbnail, there is 1280 × 720px, but in need much bigger size....

Best regards!
Adam
·
Sunday, 09 September 2018 19:32
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you Arlex! Thats exactely what I've been searching for

Best regards!
Adam
·
Saturday, 15 December 2018 23:12
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome Adam, glad that your issue is resolved now
·
Sunday, 16 December 2018 00:51
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post