Store Community Support Documentation
Hello,
how can i view the original photo uploaded?
I don't speak about "download" photo, i speak about "View original photo"...
It's possible add new link "View original photo" beside "Download" icon link?
Thanks
antonio
I do not exactly understand what you need. But you can copy the image url location.
Yes, but I think is better to have clickable icon or phrase "view original" :)
Thanks...maybe I must find developer to add this link...
I do not exactly understand what you need. But you can copy the image url location.

add this to your themes javascript in theme manager:

$Ready(function() {
if ($('#page_photo_view').length){
$('.showimage').parent().remove();
$('.photos_actions .pull-right').append('<li><a href="#" class="js_hover_title showimage"><span class="js_hover_info">Show original image</span><i class="fa fa-image"></i></a></li>');
$('.showimage').on('click', function() {
window.open($('#js_photo_view_image').attr('src'),'Original Image');
});
}
});

 

this code adds a button to the right bottom corner of the image. clicking on the button opens a window to the imagefile.

Last update on October 11, 7:37 pm by Scheinwelt-Media.
5 Liked
,  and 3 others likes this.
Wow, thanks!!! :)
It works! I changed fa icon :)
Thanks :)
Antonio
add this to your themes javascript in theme manager:
$Ready(function() {
if ($('#page_photo_view').length){
$('.showimage').parent().remove();
$('.photos_actions .pull-right').append('
  • Show original image
  • ');
    $('.showimage').on('click', function() {
    window.open($('#js_photo_view_image').attr('src'), 'Original Image');
    });
    }
    });
    this code adds a button to the right bottom corner of the image. clicking on the button opens a window to the imagefile.
    1 Liked
     likes this.

    Hello,

    after upgrade Photo app the icon Show original image is hide...

    I must change this code?

    Thanks

    Antonio

     

    add this to your themes javascript in theme manager: $Ready(function() { if ($('#page_photo_view').length){ $('.showimage').parent().remove(); $('.photos_actions .pull-right').append('

    the new texteditor of this forum has screwed up the code

    Last update on October 11, 6:04 pm by Scheinwelt-Media.

    i have now corrected the old post but here is a new code with small changes. both codes should work also with the new photo app.

    $Ready(function() {
    if ($('#page_photo_view').length){
    if (!$('.original-image').length){
    $('.photos_actions .pull-right').append('<li class="original-image"><a href="#" class="js_hover_title showimage"><span class="js_hover_info">Show original image</span><i class="fa fa-image"></i></a></li>');
    }
    $('.showimage').on('click', function() {
    window.open($('#js_photo_view_image').attr('src'),'Original Image');
    });
    }
    });

    Perfect, thanks! :)

    Antonio