WordPress.org

Ready to get started?Download WordPress

Forums

Easy Digital Downloads
[resolved] use of featured image and media with downloads (19 posts)

  1. marionegp
    Member
    Posted 8 months ago #

    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.
    http://www.westcountrybookworm.co.uk/off-the-shelf-book-recommendations/book-recommendations-for-12/
    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.
    Marion

    http://wordpress.org/plugins/easy-digital-downloads/

  2. Pippin Williamson
    Pippin's Plugins and Plugin Reviewer
    Plugin Author

    Posted 8 months ago #

    That's a problem caused by your theme.

    Are you comfortable modifying theme template files?

  3. marionegp
    Member
    Posted 8 months ago #

    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.

    Regards

    Marion

  4. Pippin Williamson
    Pippin's Plugins and Plugin Reviewer
    Plugin Author

    Posted 8 months ago #

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

  5. marionegp
    Member
    Posted 8 months ago #

    <?php
    /**
    * 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

  6. Pippin Williamson
    Pippin's Plugins and Plugin Reviewer
    Plugin Author

    Posted 8 months ago #

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

  7. marionegp
    Member
    Posted 8 months ago #

    Here it is

    ### Begin System Info ###

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

    Multisite: No

    SITE_URL: http://www.westcountrybookworm.co.uk
    HOME_URL: http://www.westcountrybookworm.co.uk

    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: http://www.westcountrybookworm.co.uk/checkout/
    Success Page: http://www.westcountrybookworm.co.uk/purchase-confirmation/
    Failure Page: http://www.westcountrybookworm.co.uk/transaction-failed/
    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
    DISPLAY ERRORS: On (1)
    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.

    TEMPLATES:

    ACTIVE PLUGINS:

    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

  8. Pippin Williamson
    Pippin's Plugins and Plugin Reviewer
    Plugin Author

    Posted 7 months ago #

    It's this part you want to remove, right? http://screencloud.net/v/iL0Y

  9. marionegp
    Member
    Posted 7 months ago #

    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.
    Marion

  10. marionegp
    Member
    Posted 7 months ago #

    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

  11. Pippin Williamson
    Pippin's Plugins and Plugin Reviewer
    Plugin Author

    Posted 7 months ago #

    Sorry for the delay.

    Can you now post the contents of content.php?

  12. marionegp
    Member
    Posted 7 months ago #

    <?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(); ?>
    </div>
    <?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(); ?>
    </h1>
    <?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 -->

  13. Pippin Williamson
    Pippin's Plugins and Plugin Reviewer
    Plugin Author

    Posted 7 months ago #

    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).

  14. marionegp
    Member
    Posted 6 months ago #

    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.

  15. Pippin Williamson
    Pippin's Plugins and Plugin Reviewer
    Plugin Author

    Posted 6 months ago #

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

  16. marionegp
    Member
    Posted 6 months ago #

    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:
    http://www.westcountrybookworm.co.uk/downloads/dystopian-societies-2/

    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.

  17. Pippin Williamson
    Pippin's Plugins and Plugin Reviewer
    Plugin Author

    Posted 6 months ago #

    That's great to hear!

    In regards to the text size, that is definitely from your theme and not something I will be able to help with.

  18. marionegp
    Member
    Posted 6 months ago #

    What about the image looking as if it has been cropped - it looks exactly the same in the featured image box on the EDD set up page. Yet the whole pic shows on the first page, the link for this is:
    http://www.westcountrybookworm.co.uk/off-the-shelf-book-recommendations/book-recommendations-for-12/
    Thanks
    Marion

  19. Pippin Williamson
    Pippin's Plugins and Plugin Reviewer
    Plugin Author

    Posted 6 months ago #

    That's how WordPress thumbnails work. There is not a way around it, sorry.

Reply

You must log in to post.

About this Plugin

About this Topic