Marco Ro Posted February 1, 2018 Share Posted February 1, 2018 Hello everyone! I'm Marco, It's my first website with Processwire and I like it a lot!! There is just a few things that i can not understand well. I try to looking in the forum but not have find an answer, so I write here my first question! When I create a new images field I can upload images only from outside website, I mean, I can not reuse the images I've already uploaded. Example if I have to load icons inside a repeater field I have to upload the images every time, and the system will create a folder for every images, with different url. There is an away for let me reuse the images I've already uploaded ? something similar at an option to choose from a madia library like for the CKEditor ? Thank a lot! 1 Link to comment Share on other sites More sharing options...
horst Posted February 1, 2018 Share Posted February 1, 2018 Hi @MarcoPLY, welcome to the forums. Imagefields are tied to a page, therefor the images you upload through this page are stored under /site/assets/files/<ID-OF-THE-PAGE>/. You are using repeaters, maybe as one of multiple options to reuse fields on a single page. Repeaters are also pages (behind the scene), therefor the images you upload to a repeater item are stored under /site/assets/files/<ID-OF-THE-REPEATER-PAGE>/. For all images you want to use in multiple places, one recommended way is to create a hidden page with an imagefield. Some people don't create an extra page but uses their homepage for that. Both do store all the stuff that is needed on multiple places, also text like contact data, files and not only images. But let us focus on the images now: If you need them into different pages with ckeditor fields, you need to click on the images button. In the opened dialog you can read " If you would like to select images from another page, select the page below.". Below is the name of the current page and a button or link called "change". Clicking on it opens a page tree to let you choose another page. (The homepage is the first one, what may be the reason some people store their reusable stuff there). With clicking on the pagenames you can traverse through the tree to every single page that exists in your system. Clicking "select" on the page of your desire displays all its images as thumbnails. 2 Link to comment Share on other sites More sharing options...
szabesz Posted February 1, 2018 Share Posted February 1, 2018 And there is the commercial module called Media Manager: Link to comment Share on other sites More sharing options...
Robin S Posted February 1, 2018 Share Posted February 1, 2018 And if it's mainly within CKEditor fields that you want to reuse images from a central media library then there is this module from @BitPoet: Media Library 2 Link to comment Share on other sites More sharing options...
theo Posted February 1, 2018 Share Posted February 1, 2018 I would like to see such a simple image select field type too. Especially when used with Media Library: https://modules.processwire.com/modules/media-library/ Functionally it is there, but this is designed for URLs not images.https://modules.processwire.com/modules/fieldtype-assisted-url/ It does what I want, but it is does not show the image. 1 Link to comment Share on other sites More sharing options...
Marco Ro Posted February 1, 2018 Author Share Posted February 1, 2018 First thank you to all for the help!! Great know there are many user active! 3 hours ago, horst said: For all images you want to use in multiple places, one recommended way is to create a hidden page with an imagefield. @horst OK I think the this solution cloud work, so I have to make one hidden page like principal category and every page for each image to call it from the back-end page where I want show up the images, exact? Thank you @Robin S and @theo Media Library + fieldtype-assisted-url look interesting, I can use this and replace it with image fields, but if I do I will lost all the api image? this could be nice also because i can use it with external folder like make my image folder. no? @szabesz thank you I'll go see the page. 2 Link to comment Share on other sites More sharing options...
abmcr Posted February 1, 2018 Share Posted February 1, 2018 https://github.com/processwire/processwire-requests/issues/156 2 Link to comment Share on other sites More sharing options...
Marco Ro Posted February 2, 2018 Author Share Posted February 2, 2018 I think to have fund a good way for the moment. Together with the two modules proposed by @theo and @Robin S I have used other one Site-wide File Manager. This model give you the possibility to have a recap about your upload file and see your are store, and also you can delete there directly form this model. Of cures, it's not like the filedtype where @theo working now here! this will be so great. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now