uhm…how do i make my store/album look like yours?

Bring Your Business to LifeSupportImage Storeuhm…how do i make my store/album look like yours?

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #56763
    coffeebean
    Member

    I would like the download button to be available on the image, with the option to allow downloads without the store function being enabled.
    I also want the selection checkmark instead of the select button.

    Please help. 🙂

    #56772
    Xpark Media
    Keymaster

    For albums you will need to create a custom taxonomy-ims_album.php template and use the WordPress feature image.

    you may want to change the image size by using set_post_thumbnail_size( 800, 320, true );

    to add a download button use

    function add_ims_image_tag_buttons($buttons, $imageid, $data){
    global $ImStore;
    $buttons = array_merge( array( 'download' =>
    '<a class="ims-download" title="' . __( 'Download' ) . '" href="' . esc_attr( $ImStore->get_image_url( $imageid, 4 , true ) ) . '" download="'
    . esc_attr( $data['title'] ) . '">' . __( 'Download' ) . '</a>' ,
    ), (array) $buttons );
    }
    add_filter( 'ims_image_tag_buttons', 'add_ims_image_tag_buttons', 10, 3 );

    the rest is just css work.

    #56788
    coffeebean
    Member

    thank you! 🙂

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.