Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.

How to change upload image url structure?

+6 votes
172 views
asked Jun 13 in Q2A Core by Back Bencher

When we upload an image by sceditor, then we show default image url structure like as - https://www.mydomain.com/?qa=blob&qa_blobid=6048349624105257942

Now, I want to change url structure like as wordpress - http://mydomain.com/wp-content/uploads/2016/03/image-name.jpg or my own structure.

1 Answer

–2 votes
answered Jun 14 by q2apro
Generally, there is a plugin for this: https://github.com/q2apro/q2apro-better-upload-folders

It changes how the files are stored.

Instead of throwing back the url with the blobid, you can throw back the absolute path.
commented Jun 14 by Back Bencher
I've already installed this. But, not working.
commented Jun 14 by Back Bencher
edited Jun 15 by Back Bencher
@q2apro,  please let me know what to do step by step.
commented Jun 27 by there4
this plugin not working.
...