-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Annoying links to original on scaled images #4229
Comments
How about |
I do want that pictures that are scaled actually have a link to originals,
that's just fine. But there are small ones like icons etc that just don't
make sense =)
…On Sat, Nov 11, 2017, 08:34 Takeshi KOMIYA ***@***.***> wrote:
How about html_scaled_image_link?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#4229 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAN7mvHp6QuQROx4wInBwMPtVOeGqM70ks5s1VwggaJpZM4QYh-B>
.
|
Ah, I understand. sorry, |
When you mean no option, you mean that no additional attribute for
`..image::` is required? If so, what method for not generating the link do
you propose?
…On Sat, Nov 11, 2017, 12:20 Takeshi KOMIYA ***@***.***> wrote:
Ah, I understand. sorry, html_scaled_image_link is not good.
Indeed, such a hyperlink is not needed. Yes, any contribution is always
welcome :-)
I think no option is needed. It's reasonable behavior to me.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#4229 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAN7moS4zbQ7mTtY2E3IEmHCG6XF0FtDks5s1ZD6gaJpZM4QYh-B>
.
|
AFAIK the thumbnail images are used only if users uses |
Yes, my question is, how do we deactivate the hyperlink generation when those images are specified?
my proposal was to add an option, and you seemed to say that no option is needed, so I am asking what solution would you propose. Sorry if I wasn't clear enough =) |
Ah, sorry. I'd misunderstood your request. Okay, you'd like to disable hyperlinks of specific images, right? I think we have to be careful to add a new option by Sphinx to keep syntax simple. So I'd like to know the reason. |
It's part of the problem description when I opened the issue. It doesn't make sense to have a link in an icon. Another alternative I had thought of was to put some null link or something in the link in the existing |
I may be too new to Sphinx, but could you add a feature, say |
In my case it's just for specific images. I wouldn't do it also dependant
on below a certain size, but just disabled by image. The use case is just
for certain images, is not something general. I could have another image
set to 50% scale and be an image I want a link for...
…On Wed, Nov 15, 2017 at 6:03 PM RGSchuster ***@***.***> wrote:
I may be too new to Sphinx, but could you add a feature, say
html_icon_image_link that, when set to false, disables the
post_process_images function for images below a certain size?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#4229 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAN7mg-TxrFV2-6HaIOoGYRxzHRRSlecks5s2yeDgaJpZM4QYh-B>
.
|
I don't think So I like the |
This removes href's which are automatically being added to scaled logos on consulting pages. See also: sphinx-doc/sphinx#4229
👍 for the I've used the However there may be user-generated reST pages in the same Sphinx project where the link indeed does make sense, so using |
This removes href's which are automatically being added to scaled logos on consulting pages. See also: sphinx-doc/sphinx#4229
agreed with @txomon, we really need a |
I added a new style option |
Thanks @tk0miya! But are you sure about the version number 2.4? |
oh true @tk0miya confirmed, works great! (with 3.0.3) Sorry for my misunderstanding. |
oh, sorry. It was released as 3.0. I saw wrongly the milestone of #7032. |
Closing. Thank you for discussing! |
Subject: It's annoying to have all rescaled images linked to original one always
Problem
Procedure to reproduce the problem
Scale an image.
Expected results
Can we just add an option to image to avoid the generation of the link?
Environment info
I can make a PR, but just want confirmation that it would be accepted. Although maybe it exists already...
The text was updated successfully, but these errors were encountered: