Home Forums Plugin Support WP User Frontend Pro Problems with images

This topic is: not resolved

This topic contains 14 replies, has 4 voices, and was last updated by  Danilo 5 years, 7 months ago.

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #9448

    Danilo
    Participant
    Post count: 43

    Hi.

    1) I've installed a plugin that resizes automatically uploaded images.
    It doesn't work with this plugin, attached images are uploaded with full size.

    2) I can't show featured image into posts using code in your documentation. I can display other customized fields, but I can't display featured attached images. Any problems in documentation code?

    #9458

    Tareq Hasan
    Keymaster
    Post count: 2831

    1) Can you describe how it's not working? If the plugin is maintaining the WordPress standard, it should also generate those image sizes. You can check in the upload folder if its generating those images or not.

    2) Use this code in your themes single.php to show featured images:
    [php]
    if ( has_post_thumbnail() ) {
    the_post_thumbnail( ‘thumbnail' );
    }
    [/php]

    #9467

    Danilo
    Participant
    Post count: 43

    I'm using your code in documentation:

    $images = get_post_meta( $post->ID, ‘mey_key_name' );

    if ( $images ) {
    foreach ( $images as $attachment_id ) {
    $thumb = wp_get_attachment_image( $attachment_id, ‘thumbnail' );
    $full_size = wp_get_attachment_url( $attachment_id );

    printf( ‘%s‘, $full_size, $thumb );
    }
    }

    No image are showing into my website.

    #9468

    Tareq Hasan
    Keymaster
    Post count: 2831

    Did you changed mey_key_name with your the meta key you are using?

    #9470

    Danilo
    Participant
    Post count: 43

    Yes.
    Coordinates are working correctly (in this event user didn't send it), the problem is white box around placemark.
    Map field is working fine.

    #9471

    Danilo
    Participant
    Post count: 43

    Sorry, I wrote in wrong post.
    Yes, I changed meta name…

    #9472

    Danilo
    Participant
    Post count: 43

    Just only a problem:
    I can't allow image uploading, just only FEATURED IMAGE uploading.
    In this case, I can't retrieve meta name for this field.
    Maybe this is the problem?

    #9549

    Danilo
    Participant
    Post count: 43

    Which code I need to use if I want to display a gallery automatically?

    I can't find FEATURED IMAGE meta name…

    #9554

    Mahi
    Member
    Post count: 1555
    #9594

    Danilo
    Participant
    Post count: 43

    Yes.
    Adding this code, is working for me.

    #9595

    Danilo
    Participant
    Post count: 43

    And if GALLERY is present?
    How can I show it?

    #9620

    Tareq Hasan
    Keymaster
    Post count: 2831

    What do you mean by GALLERY is present? How do you define if gallery is present?

    #9622

    Danilo
    Participant
    Post count: 43

    For example, if I add a IMAGES field into my form, so users can submit images (not FEATURED IMAGES).
    They show if I put [GALLERY] shortcode manually, but I need to display automaticaly customizing my theme.

    #9682

    paperweight
    Participant
    Post count: 122

    I use a loop instead of [gallery] because I too was having issues getting [gallery] to work well with WPUF to output numerous images.

    #9684

    Danilo
    Participant
    Post count: 43

    Could you post code sample, please?

Viewing 15 posts - 1 through 15 (of 15 total)

The topic ‘Problems with images’ is closed to new replies.