jacklamond
Forum Replies Created
-
@vanyukov Wow! that works perfectly.
Thanks so much again, Anton. Is there somewhere I can tip you a coffee?
Jack
Currently trying to take it a step further buy automatically grabbing the site url without the protocol e.g ‘example.local’ and returning the site name ‘example’ so this can be used on multiple websites without having to manually edit the code on each
Got it! Needed to activate the ‘keep media file library structure’ option.
Thanks so much @vanyukov, you’re awesome.
Hey @vanyukov
No no, it’s my bad! I’m not too proficient in php unfortunately so can get easily confused. I’ve messed around with the code provided, but unfortunately continue to be faced with the following error when trying to offload the image:
{ “result”: null, “success”: false, “errors”: [ { “code”: 5411, “message”: “The Custom ID is invalid. Custom IDs can include 1024 characters or less, any number of subpaths, and support the UTF-8 encoding standard for characters. Enter a new Custom ID and try again: Must not be an empty string” } ], “messages”: [] }
Hi Anton,
Thanks very much for your quick response, however I can’t seem to get this to work. I’m placing the filter as a new snippet in ‘Code Snippets’ and have tried a couple of variations but I can’t get it to alter the filename at all. Example attached.
@savvi could you please kindly write the instructions to implement this php code? I’m interested in giving it a shot! Thanks
Was just about to ask the same question! Instead of ‘w-9999’ can we set a default variant name? e.g. ‘/medium’
I’d also like to +1 this feature.
@vanyukov do you have an update for this? Awesome work man.