Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image Preview on Edit page #33

Open
crofton77 opened this issue Sep 3, 2014 · 5 comments
Open

Image Preview on Edit page #33

crofton77 opened this issue Sep 3, 2014 · 5 comments

Comments

@crofton77
Copy link

How would I add a preview of the current image field on the edit. Currently only gives me upload field for new image.

Also can there be a way to customise the output in the list view to show the image?

@jspekken
Copy link
Member

jspekken commented Sep 3, 2014

I'm currently working on that. I'll keep you updated

@crofton77
Copy link
Author

Also is it possible to store the image name without the path in the database?

As I have replace the path with the URL to display and this causes a issue when I move to live site as base_path is different.

@crofton77 crofton77 reopened this Sep 3, 2014
@vins13pattar
Copy link

How to crop images to multiple sizes on upload?

sizes(array('events' => ['250', '160']));

Am I doing it right?

@vins13pattar
Copy link

@hrtrulz did you get any work around to store only image name to DB?

@blackfyre
Copy link

$mapper->image('image')->sizes([
            [200,200,'fit','smallImage'],
            [300,200,'resizeCanvas','bigImage'],
        ])->location('imagesFolder');

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants