Fix image orientation 2 (from markers)
This commit is contained in:
@@ -385,7 +385,7 @@ function initSpotMessages(aoMessages, aoTracks) {
|
|||||||
if(oMsg.pics) {
|
if(oMsg.pics) {
|
||||||
var $Pics = $('<div>', {'class':'pics'});
|
var $Pics = $('<div>', {'class':'pics'});
|
||||||
$.each(oMsg.pics, function(iKey, asPic){
|
$.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})));
|
.append($('<img>', {'src': asPic.thumb_path})));
|
||||||
});
|
});
|
||||||
$Tooltip
|
$Tooltip
|
||||||
|
|||||||
@@ -386,6 +386,7 @@ $legend-color: #222;
|
|||||||
max-width: 200px;
|
max-width: 200px;
|
||||||
max-height: 100px;
|
max-height: 100px;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
|
image-orientation: from-image;
|
||||||
transition: All 0.2s;
|
transition: All 0.2s;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user