Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Rashed Latif

    (@rashedlatif)

    Is it happening for all browsers or just firefox?
    Actually to use the size entered in the options page you need to resize the images using any image resize plugin. I prefer “Force Regenerate Thumbnail”.

    If the entered dimension was used before then you might have the image of that size already and it will appear with the correct size straight away. But if the dimension is completely new then there need to be a image file of that size and “Force Regenerate Thumbnail” or any other similar plugin actually does that job.

    Try this way and if it doesn’t work please let me know.

    I would prefer a review as well.

    Thread Starter tagteamcomputing

    (@tagteamcomputing)

    Ok, I do remember seeing something about that. Currently it is only in Firefox, it looks fine in chrome, didnt try IE or Safari.

    I will install and run the thumbnail regenerator and then test the plugin more fully and then give a review.
    Thanks

    Thread Starter tagteamcomputing

    (@tagteamcomputing)

    Thank you the thumbnail Generator tip that worked great. However the girl I am helping with would prefer that no images show up. I have set the thumbnail to 0 an 0 but it still shows for the posts that have a featured image. Is there a way to get images to not show up or can you tell me where to modify the code to not display it?

    If figure I need to do some editing to tt-post-viewer/ttpv-shortcodes/ttpv-mostpopular-shortcode.php

    if(strtolower($disp) == "thumbnail"){
                        $output_str .= "<div class='shortcode-thumb'>";
                        if(has_post_thumbnail()){
                            $src = wp_get_attachment_image_src( get_post_thumbnail_id($mostpopular_posts->ID),
                                                               'postarea-thumb', false, '' );
                            $output_str .= "<a href='#'><img src='".$src[0]."' /></a>";
                        }else{
                            $output_str .= "<a href='" . get_permalink() . "'>";
    
                            $output_str .= "<img src='". plugins_url( 'tt-post-viewer/images/default-image.png') . "' "
                                            . "width='". $opt_val['ttpv_txt_postarea_thumbnail_width_number'] ."'"
                                            . "height='". $opt_val['ttpv_txt_postarea_thumbnail_height_number'] ."' /></a>";
                        }

    However it says that file is inactive at the top so I am not sure

    Plugin Author Rashed Latif

    (@rashedlatif)

    Thats actually pretty simple. You dont have to do anything with code. In the options page you should be able to select whether you like to display thumbnail or not. In the help file its also described how to use shortcodes to override options selected in options page. you dont have to resize the image size to 0x0.

    hope that helps.

    Thread Starter tagteamcomputing

    (@tagteamcomputing)

    Yes, I see that now. I was helping a friend and she put the shortcode in and I never checked to make sure she had done it right. I will provide a review now. thanks for the help

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Image size huge in firefox’ is closed to new replies.