Support » Plugin: Network Posts Extended » Thumbnail image issue

  • Resolved raizaduran

    (@raizaduran)


    So if you see my website, http://www.tripoclan.com/

    you can see the thumbnail image is blurred because it’s picking the image size of 60×40.

    If you scroll down the homepage, you will see a few cities name like Agra, Dharamshala, and those have thumbnail images very accurately.

    I tried a lot of changes to do in network-posts-extended.php file but no luck. Can you help me to what changes I should do in the thumbnail image size to make it work accurately?

    https://wordpress.org/plugins/network-posts-extended/

Viewing 15 replies - 1 through 15 (of 35 total)
  • Plugin Author johnzenausa

    (@johnzenausa)

    I’m assuming your wordpress default thumbnail image size is set to 60×40?

    Plugin Author johnzenausa

    (@johnzenausa)

    I’m noticing the original image is 60px wide by 40px high which will cause image to be blurry. In wordpress you must set default thumbnail size to be larger so it won’t blur. As of now the images are being stretched to 310px wide by 207px high. Make the thumbnails have a property of at least 180px wide by 120 px high so they won’t be blurred when resized to the larger dimensions. There’s know fix for this as of now since my plugin uses the wp default thumbnails.

    Thread Starter raizaduran

    (@raizaduran)

    Thanks for your prompt response. I understand your point and yes you’re right, default thumbnail image size is set to 60×40.

    But here is what I’m trying.

    In network-posts-extended.php, I’m modifying the code here:

    /* below is my updates */
    	extract(shortcode_atts(array(

    the default code is

    'size' => 'thumbnail',
    		'image_class' => 'post-thumbnail',

    which I’m changing to

    'size' => 'thumb-medium',
    		'image_class' => 'attachment-thumb-medium',

    In that case, it looks like this.

    https://www.dropbox.com/s/q9wsurz7np9ojs0/Capture.PNG?dl=0

    As I see, now it is picking the image correctly (a high dimension image), but when it comes to show it on frontend, its coming as a small box only, unlike how I want it to be like other section (as you see while scrolling down)

    How can I fix it?

    All I want it to pull the medium size image (not thumbnail image) and show it in center as specific size as the other contents on the bottom of the page.

    Plugin Author johnzenausa

    (@johnzenausa)

    I’m working on an upgrade right now where it will create more than one thumbnail image when adding a thumbnail to a post or page then I’ll add an argument for the shortcode as in:

    use_thumbnail_custom=”custom-thumbnail”

    I’m going to give it basically a size of width=”300″ and height=”auto” that way it will look cleaner when it gets posted since the image will be larger.

    It’s going to take me some time though.

    Thread Starter raizaduran

    (@raizaduran)

    Sounds wonderful. I’ll be waiting for this johnzenausa. Thank you so much.

    Thread Starter raizaduran

    (@raizaduran)

    Hi johnzenausa, how are you? do you have any tentative timeline to make this feature available please?

    Plugin Author johnzenausa

    (@johnzenausa)

    It’s almost finished you’ll be prompted for an update within the next few days. Read the readme.txt file for explanation on how to use it. Still haven’t finished my tutorial page.

    Thread Starter raizaduran

    (@raizaduran)

    Sure I’ll be waiting. Thanks for the hard work and your incredible contribution to the community. Much appreciate this.

    Plugin Author johnzenausa

    (@johnzenausa)

    @raizaduran

    Can you check out this link and see if this is what you’re looking for? If it is the release will be ready by Wednesday. The explanation will be in the readme.txt file.

    Test Page 1

    Thread Starter raizaduran

    (@raizaduran)

    Oh Sorry @johnzenausa, I don’t know how I missed this reply.

    Yes, this is what I am looking for. I’ll be looking forward for the release.

    Thank you so much for the extended help.

    Plugin Author johnzenausa

    (@johnzenausa)

    I have uploaded the latest plugin so you may create custom thumbnail sizes. I recommend that if you want to use images with a 3×2 ratio then create an alias with dimensions of 600×400, 300×200 etc. plus upload your images in sizes of 600×400 or 300×200. Hope you understand what I’m getting at.

    This will guarantee you no distorted pictures. Don’t forget to rebuild the images. Note: this will rebuild and create the alias of all images across multisite network. Won’t interfere with wp default thumbnail sizes. It will just create additional sizes.

    • This reply was modified 5 years, 10 months ago by johnzenausa.
    • This reply was modified 5 years, 10 months ago by johnzenausa.
    Thread Starter raizaduran

    (@raizaduran)

    Thank you @johnzenausa, I got the update.

    But in settings > Network Posts Ext > Thumbnails > when I click on “add image size” or “regenerate images” it happens nothing.

    What you suggest?

    fyi, I use a plugin Regenerate Thumbnails: https://wordpress.org/plugins/regenerate-thumbnails/

    Plugin Author johnzenausa

    (@johnzenausa)

    I just created an image size of 750×500 with the above plugin installed with no problems. Did you select the size you created in the drop down box under regenerate thumbnails? You can use the add from server plugin: https://wordpress.org/plugins/add-from-server/. Here you can look inside the folder and verify the size has been created. An example is below:

    Generated Thumbnail

    You can check on the bottom of this page it worked. https://johncardell.com/asdadadsad/

    Here is the shortcode I used: [netsposts post_type=post taxonomy="Uncategorized" include_blog="2" wrap_text_start="<div style='display:none;'>" wrap_text_end="</div>" include_post="45,47,62,64,66,68" thumbnail="true" size="large-rectangle" title_color="rgb(256,0,0)"]

    Thread Starter raizaduran

    (@raizaduran)

    I got your point, but the problem is that I can’t create alias. Required image sizes are available in my server already using the Regenerate Thumbnails plugin.

    In the shortcode you’ve mentioned, the alias used is “large-rectangle” right? correct me if I’m wrong?

    That’s the problem, I can’t create an alias, because when I click on settings > Network Posts Ext > Thumbnails > “add image size” or “regenerate images”, it happens nothing.

    This is the section I’m referring to: http://prnt.sc/cs2x6t

    Plugin Author johnzenausa

    (@johnzenausa)

    When you click on the buttons to add image size or regenerate thumbnails a box doesn’t appear underneath. Is that correct?

Viewing 15 replies - 1 through 15 (of 35 total)
  • The topic ‘Thumbnail image issue’ is closed to new replies.