|
Replies:
12
-
Pages:
1
-
Last Post:
9 Nov 25, 21:38
Last Post By: davidekholm
|
|
|
Posts:
7,980
Registered:
31-Jan-2006
|
|
|
|
Image with RI misreporting width and height
Posted:
5 Nov 25, 18:30
|
|
|
|
Another oddball. If I add a pano to a project, tell it to use the original, then add an RI to that object, the slide page correctly links to the original image with imagePath (points to the root), but it reports the imageWidth and imageHeight of the RI, instead.
|
|
|
Posts:
7,980
Registered:
31-Jan-2006
|
|
|
|
Re: Image with RI misreporting width and height
Posted:
6 Nov 25, 15:44
in response to: JeffTucker
|
|
|
This appears to have been corrected in 38.0.12.
But I reserve the right to piss and moan about it at some unspecified time in the future. 
|
|
|
Posts:
3,792
Registered:
18-Oct-2002
|
|
|
|
Re: Image with RI misreporting width and height
Posted:
7 Nov 25, 18:29
in response to: JeffTucker
|
|
|
Another oddball. If I add a pano to a project, tell it to use the original, then add an RI to that object, the slide page correctly links to the original image with imagePath (points to the root), but it reports the imageWidth and imageHeight of the RI, instead.
I realise I need to think more on how to handle images attached to images. Any suggestions on the ideal behaviour from a skin developer's point of view?
|
|
|
Posts:
7,980
Registered:
31-Jan-2006
|
|
|
|
Re: Image with RI misreporting width and height
Posted:
7 Nov 25, 19:12
in response to: davidekholm
|
|
|
|
In most cases, attaching an image to an image would be a very weird thing for a user to do. What would be the purpose?
The only real-world case I can think of is the very one that I've been testing, i.e., when the AO is a pano of some sort. These are often a problem because they produce lousy thumbnails, especially the equirectangular panos (not as bad with a flat horizontal pano).
I think the way they're being treated now is good enough. The user can tag the pano with Use original, and attach a more suitable image for use as the thumbnail. One generally doesn't want to have a pano scaled, anyway.
A quick test with Tiger (my skins don't support the 360° viewer):
(demo album removed)
The thumbnail is a photo of the outside of the building.
I'd be interested to hear of another proposed use of attaching an image to an image.
|
|
|
Posts:
3,873
Registered:
4-Aug-2006
|
|
|
|
Re: Image with RI misreporting width and height
Posted:
7 Nov 25, 21:00
in response to: JeffTucker
|
|
|
In most cases, attaching an image to an image would be a very weird thing for a user to do. What would be the purpose?
I'd be interested to hear of another proposed use of attaching an image to an image.
Front and back view, before and after, non-human male and female are a few that come to mind.
|
|
|
Posts:
7,980
Registered:
31-Jan-2006
|
|
|
|
Re: Image with RI misreporting width and height
Posted:
7 Nov 25, 21:23
in response to: RobM
|
|
|
In most cases, attaching an image to an image would be a very weird thing for a user to do. What would be the purpose?
I'd be interested to hear of another proposed use of attaching an image to an image.
Front and back view, before and after, non-human male and female are a few that come to mind.
But you'd get the RI for the thumbnail, and the main JPG for the slide. It wouldn't give you two slide images.
|
|
|
Posts:
3,873
Registered:
4-Aug-2006
|
|
|
|
Re: Image with RI misreporting width and height
Posted:
7 Nov 25, 21:49
in response to: JeffTucker
|
|
|
In most cases, attaching an image to an image would be a very weird thing for a user to do. What would be the purpose?
I'd be interested to hear of another proposed use of attaching an image to an image.
Front and back view, before and after, non-human male and female are a few that come to mind.
But you'd get the RI for the thumbnail, and the main JPG for the slide. It wouldn't give you two slide images.
I was really meaning to use an attached image not as the RI but as a true alternative image. Yes, this would require another attachment method to the existing two.
|
|
|
Posts:
7,980
Registered:
31-Jan-2006
|
|
|
|
Re: Image with RI misreporting width and height
Posted:
7 Nov 25, 23:05
in response to: RobM
|
|
|
I was really meaning to use an attached image not as the RI but as a true alternative image. Yes, this would require another attachment method to the existing two.
Maybe someone will develop a skin that will do that. What's that you say? 
|
|
|
Posts:
3,873
Registered:
4-Aug-2006
|
|
|
|
Re: Image with RI misreporting width and height
Posted:
8 Nov 25, 00:20
in response to: JeffTucker
|
|
|
I was really meaning to use an attached image not as the RI but as a true alternative image. Yes, this would require another attachment method to the existing two.
Maybe someone will develop a skin that will do that. What's that you say? 
Well the functionality does exist and has been asked for but it seems users prefer for it to be in a skin with more bells and whistles than I would be interested in doing.
|
|
|
Posts:
7,980
Registered:
31-Jan-2006
|
|
|
|
Re: Image with RI misreporting width and height
Posted:
8 Nov 25, 00:23
in response to: RobM
|
|
|
|
Yes, I prefer to leave the "all singing, all dancing" skins to Laza. I'm too old for shopping carts, social media, in-album searching, and so on.
|
|
|
Posts:
3,792
Registered:
18-Oct-2002
|
|
|
|
Re: Image with RI misreporting width and height
Posted:
8 Nov 25, 17:50
in response to: JeffTucker
|
|
|
|
How about a new attachment type: Thumbnail? This simply replaces the thumbnail image with a thumbnail of the attached image? I was first daunted by introducing more complexity to handle this, but then it came to mind that I could use existing mechanisms, like a "replace thumbnail" image filter that changes the thumbnail. Then we don't need to modify any other logic.
|
|
|
Posts:
7,980
Registered:
31-Jan-2006
|
|
|
|
Re: Image with RI misreporting width and height
Posted:
8 Nov 25, 18:41
in response to: davidekholm
|
|
|
|
I think it would be tough to explain to a user how a "thumbnail" attachment is different from a "representing image" attachment. Either one produces a different thumbnail, but then lots of weird subtleties start cropping up, depending on the nature of the base object (poster images, lightbox expansion images, etc.)
How about this.... If an RI is attached to a JPG (or other image format), replace only the thumbnail. Not sure I'd go as far as automatically using the original for the slide image, but it's tempting, especially if no one can come up with a good use-case other than pano's.
|
|
|
Posts:
3,792
Registered:
18-Oct-2002
|
|
|
|
Re: Image with RI misreporting width and height
Posted:
9 Nov 25, 09:44
in response to: JeffTucker
|
|
|
|
Yes, I'm leaning towards only replacing the thumbnail for such cases.
|
|
|
|
Legend
|
|
Forum admins
|
|
Helpful Answer
|
|
Correct Answer
|
|