Hi, I'm a Drupal Developer who is transitioning to AEM. In Drupal, there's a community module (free and open source) named "Stage File Proxy." It lets you use your local development sandbox without worrying about installing gigantic sets of images. You simply configure your sandbox to point to an external server that contains all the images you're interested in. If your sandbox requests an image that doesn't exist, it instead tries to render it from the server, and optionally installs it locally.
I would love to work on a community project like that in AEM if it doesn't exist. Unfortunately, my current AEM/Java knowledge is very limited, and like almost anyone reading this, my time is very constrained due to current job demands. Thanks in advance for any recommendations that can help avoid reinventing the wheel. If you are currently working on something like this, please let me know, and I'll gladly help any way I can (coding, testing, documentation).
-Nestor
Views
Replies
Total Likes
WIth AEM - best practice is to place the assets in the local AEM DAM. As you are new to AEM and the DAM - i recommend that you watch this webinar on the DAM -- Scott's Digital Community: Ask the AEM Community Expert Session: Best Practices for Experience Manag...
@smacdonald, thanks very much for that link--will check it out. I'm fairly familiar with AEM architecture but a lowly novice AEM developer. It'll be a good six months to a year before I have the skills to create something like I described. Was hoping there was a clever community module out there that when enabled:
-intercepts the request for an image (possibly a servlet filter)
-if it's not in the local sandbox DAM, it requests the resource from another server that does.
I know this is possible, and am still hoping someone's already created this extremely useful utility. Loading lots of images into your local DAM is tedious and takes forever. I really do appreciate your response though, and if that webinar answers my question, I'll mark your answer correct.
Views
Replies
Total Likes
I have asked internal Communities Engg team to look at this one.
~Kautuk
Views
Replies
Total Likes
kautuksahni, thanks so much for forwarding it to that team. Looking forward to hearing any ideas and/or knowledge about any existing community projects that cover this.
Views
Replies
Total Likes
"Loading lots of images into your local DAM is tedious and takes forever"
You can write tools that can help upload assets faster - check this out - a tool that reads XML and loads the Assets -- see
Views
Replies
Total Likes
smacdonald2008, thanks for posting again. I think that will definitely come in handy. Still, I'm really asking if there's a way to serve the images from an external server without having them stored in my local sandbox's DAM. I don't want my sandbox DAM to be externally located either, which I saw is one option folks are using for solutions involving Docker. Again, thanks for helpful info--it just doesn't answer my question.
Views
Replies
Total Likes
"if there's a way to serve the images from an external server without having them stored in my local sandbox's DAM"
The typical way to serve images from AEM is to place the images in the AEM DAM and then use the AEM server like any server that serves images.
For example - if your domain as TravelPics.com and you want to serve images located in the DAM - such as:
You can access bc2.jpg using an URL like -- http://TravelPics.com/content/dam/travel/bc2.jpg
Views
Replies
Total Likes
smacdonald2008, you are providing very useful info, however it doesn't answer the question. The custom utility would:
So the only work the developer would do to use the utility is:
It would provide similar functionality to the Drupal module "Stage File Proxy." I really am more than willing to help create this, but it's going to be a long time before I have the skills to do it solo. And I don't want to start it until I know there's nothing out there that does this. Thanks again smacdonald2008.
-Nestor
Views
Replies
Total Likes
Nice explanation of what you wanted. It cleared up what you were asking. The answer to you question is no - there is no project that I am aware of that fits this description. We would love for you to help develop a custom tool like this that would benefit the AEM DEV community.
smacdonald2008, thanks for all your replies. I'll follow up with @kautuksahni to make sure the community isn't aware of anything already going on with this concept. If not, I'll give it a shot.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies