Support » Plugin: Multiple Featured Images » How have images meta available? (similar to the on provided by default meta)

  • Resolved delacosta456

    (@delacosta456)


    Hi

    First of all many thanks for this plugin that worked like a charm.

    I would like to know if the is possibility to automatically have images meta..

    Explanation:
    For the default featured image, in plugins like “Revolution Slider” we can have meta like :

    {{featured_image_url_full}} Featured Image URL Taille d’Origine
    {{featured_image_full}} Featured Image Taille d’Origine
    {{featured_image_url_thumbnail}} Featured Image URL Thumbnail
    {{featured_image_thumbnail}} Featured Image Thumbnail
    {{featured_image_url_medium}} Featured Image URL Medium
    {{featured_image_medium}} Featured Image Medium
    {{featured_image_url_large}} Featured Image URL Large
    {{featured_image_large}}

    AND … so on …

    Can we have the same thing for this plugin?

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Marcus Kober

    (@marcuskober)

    Hi there,

    thank you! 🙂

    Let’s see if I understand correctly.

    The URL of the image you can get via the function:

    kdmfi_get_featured_image_src( $image_id, $size, $post_id );

    So you are able to retrieve for example the URL of the medium image:

    kdmfi_get_featured_image_src( 'featured-image-2', 'medium' );

    Same for the complete image tag:

    kdmfi_the_featured_image( $image_id, $size, $post_id );

    Complete image tag for the medium image:

    kdmfi_the_featured_image( 'featured-image-2', 'medium' );

    Does that help?

    Regards,
    Marcus

    Thread Starter delacosta456

    (@delacosta456)

    Hi ok
    is there any possibility to make one of them as default

    Plugin Author Marcus Kober

    (@marcuskober)

    Hi,

    what do you mean by “make one of them as default”? Default size? The default size is always ‘full’.

    So this outputs the image tag for full size:

    kdmfi_the_featured_image( 'featured-image-2' );

    Regards,
    Marcus

    PS
    If you find the time, please write a little review for the plugin. Thank you.

    Thread Starter delacosta456

    (@delacosta456)

    hi
    making it default mean the default image that will be selected by post as thumb picture for post displays

    Plugin Author Marcus Kober

    (@marcuskober)

    Hi,

    for this I would use the build in post thumbnail (featured image) of WordPress.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How have images meta available? (similar to the on provided by default meta)’ is closed to new replies.