Hires links on images work when set from Kupu, not from Forms editor
Bug #101567 reported by
Guido Wesdorp
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Silva |
Fix Released
|
Medium
|
Unassigned |
Bug Description
When creating an image with a link to its hires version in Kupu, it works like a
charm. When doing the same with the Forms editor, the link points to the scaled
down version, not to the hires one. It looks like Kupu creates both an attribute
called 'link_to_hires' with a value of '1', and appends '?hires' to the URL in
the link field, while the Forms editor only creates the attribute, not the URL
prefix.
I'm not sure which of those two behaviours is right, it sounds to me like having
both an attribute and a prefix is redundant, but obviously some choice should be
made and applied consistently in order for the forms editor and Kupu to both
work properly.
Changed in silva: | |
assignee: | faassen → aaltepet |
Changed in silva: | |
assignee: | aaltepet → nobody |
Changed in silva: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The design with the attribute in the XML indicating you want a highres link sounds
better than the extra parameter in the URL -- the renderer could and should take
care
of this. What does Kupu do when you switch back from highres? Rip off the ?hires
bit too?
We need to verify what both renderers (both xmlwidgets as well as XSLT) do when
generating hires links.
If we drop the requirement for ?hires we don't expect backwards compatibility
issues. We do need to check what happens with links that *already* have this
?hires bit in them.