-
Notifications
You must be signed in to change notification settings - Fork 7
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
Block-Editor Sidebar Image Size Select Issue #65
Comments
Hey @ouun thanks for reporting this bug. I haven't been able to replicate the issue myself. Please may you provide some details that can assist in replicating the issue? |
Hi @robindevitt, The issue is that using the switch replaces the img src with the default links that have the size as suffix. E.g. This is Tachyon related, isn't it? If yes, please let me know and I will close the ticket here and reopen it at the othe repo. Thanks! :) |
@ouun I have tried testing this further from my side, however I haven't been able to replicate your bug yet. Can you confirm the versions of of AMF, Tachyon and Smart Media you are using so I can try replicate the bug? As well as potential info of your install/ setup. We can always move this issue to the appropriate repo once the bug is able to be replicated. |
Strange. The versions I am using seem to be the most up-to-date: AMF: 0.13.4 I am loading tachyon and smart-media right after each other very similiar to this: https://github.com/humanmade/altis-media/blob/98aa4941aea7a7b7a558129a1fc577f1259a6a5f/inc/namespace.php#L41 Clicking on the block option "replace" and choosing another image size in the media modal works as expected. Using the "replace" button and choosing another image size from the media library (Smart Media UI) outputs the correct image URLs such as Hope that helps and thanks a lot again! |
@robindevitt I found the issue, please stop debugging! It is produced by a filter I added a while ago:
I am using the above to modify/fix image URLs that are not handled via Tachyon by default, as my theme uses "wp_get_attachment_url()" to reference images. Any idea how to keep that filter intact while not breaking other parts? Thanks and kind regards! |
Hey @ouun Great to hear! By default the plugin handles the following extensions
This would imply that the SVG's wont be included through Tachyon. If you removed the filter does that not give you the desired result? |
Changing the Image Size from the Block Options panel uses the wrong image url.
The text was updated successfully, but these errors were encountered: