Bring Your Business to Life › Support › Image Store › uhm…how do i make my store/album look like yours?
Tagged: downloads
Viewing 3 posts - 1 through 3 (of 3 total)
- AuthorPosts
- January 16, 2014 at 5:37 pm #56763coffeebeanMember
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. 🙂
January 16, 2014 at 9:32 pm #56772Xpark MediaKeymasterFor 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.
January 17, 2014 at 1:29 pm #56788coffeebeanMemberthank you! 🙂
- AuthorPosts
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.