Support » Plugin: Easy Digital Downloads » use of featured image and media with downloads

  • Resolved marionegp


    When creating downloads I have to have a copy of the image I want to appear with the download on the page both in the box on the downloads screen (obtained by clicking on media button) and in the featured image box. Without both it does not appear. However, when I click on the pic on the web page to see the product in greater detail it goes (as it should) to a page that only shows that product, but it now shows two pics – the correct one and the partial one that appeared in the featured image box. What am I doing wrong? I only want to see the single complete image.
    This is a webpage that will demonstrate what I mean. Click on one of the products with a pic to follow through.

    Quite separately I would like to get the price to display beneath the text on this product page, but frankly that is a much less important problem.
    Thanks for your help.

Viewing 15 replies - 1 through 15 (of 18 total)
  • Plugin Author Pippin Williamson


    Pippin's Plugins and Plugin Reviewer

    That’s a problem caused by your theme.

    Are you comfortable modifying theme template files?

    No, please send me whatever it is I will talk to someone I know who may be able to do it. I thought using the standard WordPress Theme would prevent these kinds of problems, but thanks for pinpointing the problem.



    Plugin Author Pippin Williamson


    Pippin's Plugins and Plugin Reviewer

    Can you post the contents of your theme’s single.php file?

    * The Template for displaying all single posts.
    * @package WordPress
    * @subpackage Twenty_Thirteen
    * @since Twenty Thirteen 1.0

    get_header(); ?>

    <div id=”primary” class=”content-area”>
    <div id=”content” class=”site-content” role=”main”>

    <?php /* The loop */ ?>
    <?php while ( have_posts() ) : the_post(); ?>

    <?php get_template_part( ‘content’, get_post_format() ); ?>
    <?php twentythirteen_post_nav(); ?>
    <?php comments_template(); ?>

    <?php endwhile; ?>

    </div><!– #content –>
    </div><!– #primary –>

    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    This is it. Many thanks

    Plugin Author Pippin Williamson


    Pippin's Plugins and Plugin Reviewer

    Ok can you also post your Downloads > System Info for me?

    Here it is

    ### Begin System Info ###

    ## Please include this information when posting support requests ##

    Multisite: No


    EDD Version: 1.7.2
    Upgraded From: None
    WordPress Version: 3.6
    Permalink Structure: /%postname%/
    Active Theme: Twenty Thirteen 1.0

    Test Mode Enabled: Yes
    Ajax Enabled: Yes
    Guest Checkout Enabled: Yes
    Symlinks Enabled: No

    Checkout is: Valid
    Checkout Page:
    Success Page:
    Failure Page:
    Downloads slug: /downloads

    Taxes Enabled: No
    Taxes After Discounts: No

    Registered Post Stati: publish, future, draft, pending, private, trash, auto-draft, inherit, refunded, failed, revoked, abandoned, active, inactive

    Platform: Apple
    Browser Name: Chrome
    Browser Version: 29.0.1547.57
    User Agent String: Mozilla/5.0 (Macintosh; Intel Ma
    c OS X 10_8_4) AppleWebKit/537.3
    6 (KHTML, like Gecko) Chrome/29.
    0.1547.57 Safari/537.36

    PHP Version: 5.2.17
    MySQL Version: 5.5.30-30.2
    Web Server Info: Apache

    PHP Safe Mode: No
    PHP Memory Limit: 256M
    PHP Upload Max Size: 64M
    PHP Post Max Size: 64M
    PHP Upload Max Filesize: 64M
    PHP Time Limit: 30
    PHP Max Input Vars: 1000

    WP_DEBUG: Disabled

    WP Table Prefix: Length: 3 Status: Acceptable

    Show On Front: page
    Page On Front: Home (#38)
    Page For Posts: (#0)

    WP Remote Post: wp_remote_post() works

    Session: Disabled
    Session Name: PHPSESSID
    Cookie Path: /
    Save Path: /tmp
    Use Cookies: On
    Use Only Cookies: Off

    WordPress Memory Limit: 40MB
    FSOCKOPEN: Your server supports fsockopen.
    cURL: Your server supports cURL.
    SOAP Client: Your server has the SOAP Client enabled.
    SUHOSIN: Your server does not have SUHOSIN installed.



    Black Studio TinyMCE Widget: 1.2.0
    Contact Form 7: 3.5.2
    Easy Digital Downloads: 1.7.2
    Easy Image Gallery: 1.0.3
    EDD Download Images: 1.0
    Meta Slider: 2.2.1
    Pinterest “Follow” Button: 1.1.1
    Styles: 1.0.9
    Styles: TwentyThirteen: 1.0.3
    Symple Shortcodes: 1.4
    WordPress Importer: 0.6.1
    WP Google Fonts: v3.1.1
    WP Super Cache: 1.3.2
    ### End System Info ###
    Thanks Marion

    Plugin Author Pippin Williamson


    Pippin's Plugins and Plugin Reviewer

    It’s this part you want to remove, right?

    Yes, please – sorry for the delay in replying, I am not sure where you are geographically but it seems to be many time zones away!

    I do appreciate the help.

    I would also like to know why the second mail box shaped version of part of the picture appears. Is it something I am doing? Or to be more precise is it something I could avoid doing?

    Thanks Marion

    Plugin Author Pippin Williamson


    Pippin's Plugins and Plugin Reviewer

    Sorry for the delay.

    Can you now post the contents of content.php?

    * The default template for displaying content. Used for both single and index/archive/search.
    * @package WordPress
    * @subpackage Twenty_Thirteen
    * @since Twenty Thirteen 1.0

    <article id=”post-<?php the_ID(); ?>” <?php post_class(); ?>>
    <header class=”entry-header”>
    <?php if ( has_post_thumbnail() && ! post_password_required() ) : ?>
    <div class=”entry-thumbnail”>
    <?php the_post_thumbnail(); ?>
    <?php endif; ?>

    <?php if ( is_single() ) : ?>
    <h1 class=”entry-title”><?php the_title(); ?></h1>
    <?php else : ?>
    <h1 class=”entry-title”>
    ” rel=”bookmark”><?php the_title(); ?>
    <?php endif; // is_single() ?>

    <div class=”entry-meta”>
    <?php twentythirteen_entry_meta(); ?>
    <?php edit_post_link( __( ‘Edit’, ‘twentythirteen’ ), ‘<span class=”edit-link”>’, ‘</span>’ ); ?>
    </div><!– .entry-meta –>
    </header><!– .entry-header –>

    <?php if ( is_search() ) : // Only display Excerpts for Search ?>
    <div class=”entry-summary”>
    <?php the_excerpt(); ?>
    </div><!– .entry-summary –>
    <?php else : ?>
    <div class=”entry-content”>
    <?php the_content( __( ‘Continue reading <span class=”meta-nav”>→</span>’, ‘twentythirteen’ ) ); ?>
    <?php wp_link_pages( array( ‘before’ => ‘<div class=”page-links”><span class=”page-links-title”>’ . __( ‘Pages:’, ‘twentythirteen’ ) . ‘</span>’, ‘after’ => ‘</div>’, ‘link_before’ => ‘<span>’, ‘link_after’ => ‘</span>’ ) ); ?>
    </div><!– .entry-content –>
    <?php endif; ?>

    <footer class=”entry-meta”>
    <?php if ( comments_open() && ! is_single() ) : ?>
    <div class=”comments-link”>
    <?php comments_popup_link( ‘<span class=”leave-reply”>’ . __( ‘Leave a comment’, ‘twentythirteen’ ) . ‘</span>’, __( ‘One comment so far’, ‘twentythirteen’ ), __( ‘View all % comments’, ‘twentythirteen’ ) ); ?>
    </div><!– .comments-link –>
    <?php endif; // comments_open() ?>

    <?php if ( is_single() && get_the_author_meta( ‘description’ ) && is_multi_author() ) : ?>
    <?php get_template_part( ‘author-bio’ ); ?>
    <?php endif; ?>
    </footer><!– .entry-meta –>
    </article><!– #post –>

    Plugin Author Pippin Williamson


    Pippin's Plugins and Plugin Reviewer

    Ok that won’t do it.

    Please deactivate all of your other plugins now. One of them most be adding the extra image (EDD certainly does not do that).

    Sorry for the long delay – OK I deactivated everything apart from EDD and it makes no difference – I am on the standard 2013 theme. I then turned everything back on individually and messed about adding and removing downloads.
    I can’t think why it should be but is the fact the featured image shows as the same segment as that which shows on the product page meaningful of anything?
    I still do not understand why I have to have the image from media in the download window and the featured image to get the image to show on the WordPress pages.

    Plugin Author Pippin Williamson


    Pippin's Plugins and Plugin Reviewer

    Are you sure you don’t have an image actually inserted into the content area of the download?

    I think you have just solved it! Yes I do – as I said at the beginning of this thread. I have set up a download with the image just as the featured image, this now looks fine on the page, but when you click on it to go to the product page the image shows but as if masked and much larger than on the original page, I wonder if you can tell me what is causing the enlargement of the heading text, but not the description and the part of the image which is visible also being much enlarged – I would not mind either of these if the whole image could appear – here is the link:

    It will be wonderful if all I have to do is adjust all the images and descriptions, which won’t be too difficult. Many thanks.

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘use of featured image and media with downloads’ is closed to new replies.