Fix image orientation 2 (from markers)

This commit is contained in:
2019-06-01 22:10:23 +02:00
parent 297660b70c
commit d3dc6901a6
4 changed files with 4 additions and 3 deletions

View File

@@ -385,7 +385,7 @@ function initSpotMessages(aoMessages, aoTracks) {
if(oMsg.pics) {
var $Pics = $('<div>', {'class':'pics'});
$.each(oMsg.pics, function(iKey, asPic){
$Pics.append($('<a>', {href: asPic.pic_path, 'data-lightbox': 'marker-pictures', 'data-title': 'Photo prise le '+asPic.formatted_time+self.tmp('site_tz_notice')})
$Pics.append($('<a>', {href: asPic.pic_path, 'data-lightbox': 'marker-pictures', 'data-title': 'Photo prise le '+asPic.formatted_time+self.tmp('site_tz_notice'), 'data-orientation': asPic.rotate})
.append($('<img>', {'src': asPic.thumb_path})));
});
$Tooltip

View File

@@ -386,6 +386,7 @@ $legend-color: #222;
max-width: 200px;
max-height: 100px;
border-radius: 3px;
image-orientation: from-image;
transition: All 0.2s;
&:hover {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long