DjangoCMS ImageField - browsing from uploaded media? - django-forms

I have written a plugin for my DjangoCMS site, part of which is displaying a picture uploaded during configuration.
I can see the pictures stored in the servers Media folder. I want for the user to be able to browse from the already uploaded images in addition to being able to select their own for upload.
I have no idea where to start with this!

There's a plugin that does exactly that: https://github.com/stefanfoulis/cmsplugin-filer

Related

How to fetch newly added images from VM in google cloud platform?

When I add images it is stored inside google cloud platform VM correctly.
But I am not able to fetch newly added images in my website.
If I redeploy project with newly added images in assets folder it is showing correctly.
I have verified there is no mistake on frontend or backend side.
Is it not possible to get live image update with VM?
Edit:
I have used Vue.js.
I am storing images inside src/assets folder.
When I save images in my website it is saved at src/assets folder.
I think it can only access things in dist folder after build.
Can you suggest where should I save my file?
I'm making an educateg guess it's some cache issue.
Instead of putting your image files inside the VM you can try storing them in a bucket that's accessible to public. The downside is that it can serve only static files (no PHP or anything).
You have to configure your load balancer to forward all your.domain.com/images/ requests to the bucket but that's actually quite easy. Have a look at my answer asking for such configuration.

Hosting a Website using 1&1 Service

I'm currently trying to upload a html+css page to my hosting service (1&1 internet).
Unfortunately, I have very little experience in that; and would like to ask this question:
How is it possible to update the existing homepage on a site that already has been uploaded to the web?
I'm using WebspaceExplorer. Now, when I enter it, (Hosting section) there are a lot of folders and files with a few options like download, delete and so on.
I can't seem to find out how to make the program understand which one should be the homepage. This is because I see that the page I uploaded is online and accessible, but is not the first page the user sees! How can I change it?
It may be confusing because of the poor description so here is the url of both:
velten-berlin.org (current Homepage)
velten-berlin.org/Upload (desired homepage)

Image upload error using HTmlExtendEditor

I am using Ajax htmleditorextender to upload a image.
In local solution, able to upload the image successfully.
Once I published into IIS, Image upload is not happening.
Please Find the attached Screenshot for the same.
enter image description here
It seems you set up AjaxFileUploadHandler.axd incorrectly.
Please make sure it is located at the root path of the web site or adjust AjaxFileUploadHandler path in Web.config accordingly.
Here is the relevant issue: https://github.com/DevExpress/AjaxControlToolkit/issues/43#issuecomment-203889967

Scala/Lift - Cannot access image uploaded until jetty is restart

I created a file upload form, the form will take an image file from user then save it in the webapp/images/ directory.
The problem is I cannot access the image uploaded by user until jetty is restarted.
Is there anything I should add to the code? Do I need to add anything on the sitemap?
Thanks for the help
try '~jetty-run' instead of 'jetty-run' when running the jetty server from sbt

Is there any plugin or anything to limit specific user access media manager?

I need to make an account for people to edit a part of my website, but they just need to update a small part frequently.
However, when they upload an image for the article, they are able to access all of the images in my site.
Is there a way to limit the access of images? Can I preset another image root path which is the sub-path of the original image path for the specific user?
Thanks a lot!
Use JCE (JoomlaContentEditor), it's the best editor available and allows you to lock down image paths specific to your users. (i.e. JohnDoe is logged in --> in the config you've specified a path for all images --> JohnDoe folder doesn't exist in the image folder --> folder is created and JohnDoe only has access to those files that he places in there).
Great Editor: http://www.joomlacontenteditor.net/
Be sure to get the component and plugins.
JCE works great -BUT, if the user uses the images/links tab to insert a intro/full image, JCE profiles will not work. The images root is the default path for uploading images via the images/links tab. The user will need to be mindful of what folder they are loading the images to.

Resources