Git Product home page Git Product logo

Comments (8)

lsmith77 avatar lsmith77 commented on June 22, 2024

i will try to get to this during this week .. i have never tried to configure the Bundle like this myself before, so i will first need to setup something like this myself .. that being said .. have you tried debugging this yourself? there are just a couple classes you need to step through in the Imagine dir of this Bundle

from liipimaginebundle.

Sydney-o9 avatar Sydney-o9 commented on June 22, 2024

Thanks @lsmith77 Yes, I tried ro debug it myself and haven't managed to get it right so far. I'll definitely give it an other shot asap. Thanks.

from liipimaginebundle.

nass600 avatar nass600 commented on June 22, 2024

I can't get it work also. Any update on this?

from liipimaginebundle.

nass600 avatar nass600 commented on June 22, 2024

Ok. I get it work. Just a dismissal. Thank you for this amazing bundle

from liipimaginebundle.

Sydney-o9 avatar Sydney-o9 commented on June 22, 2024

Thanks for your comments @nass600 I am so glad you managed to do this as I still can't... Would you mind giving a few tips on how to do this? That would be awesome.

from liipimaginebundle.

nass600 avatar nass600 commented on June 22, 2024

Of course @Sydney-o9.

First of all you need to set in config.yml the parameter data_root as you did but pointing to the source directory instead of the target one, in this example /home/user/.

Create the web/media/cache directories to generate the thumbnails in case you didn't. Remember the permissions.

Finally, you need to tell Apache which directory outside the web root you want to access. For Symfony2 I usually place an apache.xml file inside app/config where I define where is located my foreign directory and afterwards you should set an Include "/path/to/this/apache.xml" directive in the project's vhost.
Doing this I do not have to change again and again the vhost if I modify the directory where I want to access from this particular project

The apache.xml would look like:

Alias /Photos /home/user/Photos
<Directory "/home/user/photos">
AllowOverride All
Allow from All

Following this location means your photo's relative path must be /Photos/subdirs/file

Hope it helps

from liipimaginebundle.

Sydney-o9 avatar Sydney-o9 commented on June 22, 2024

You're a legend @nass600. Many thanks :)

from liipimaginebundle.

lsmith77 avatar lsmith77 commented on June 22, 2024

would be great if you could see how to integrate those instructions into the README.

from liipimaginebundle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.