Closed (fixed)
Project:
Album Photos
Version:
8.x-5.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
15 Dec 2019 at 16:32 UTC
Updated:
9 Mar 2020 at 14:52 UTC
Jump to comment: Most recent
Using the Entity API will unlock several new features and make it easier to integrate with existing contrib modules like pathauto to create custom image URLs instead of /photos/image/[fid] for example.
Comments
Comment #13
nathaniel commentedThis is looking pretty good. Marking as fixed. Other issues related to this can be opened as needed.
Comment #15
jhmnieuwenhuis commentedHi,
Can you explian how to use media as input ?
I have version 8.x-5.x installed
Regards,
Hans
Comment #16
nathaniel commentedHello, first step is to add the media field:
/admin/config/media/photos/fields
Then update display settings as needed.
Then it looks like we still need a way to add a single photos image entity (/photos/image/add) and/or a way to select the default field for the multi-upload forms. The multi-upload forms currently default to field_image but we could add an option in the admin settings to choose the default image upload field.
Let me know if you have any suggestions or thoughts. Also if you can explain the usage a bit that might help (videos, etc.?). The current multi-upload forms will only work with images. Feeds or some other module might be needed to mass import other media types.
Started a new issue here:
#3118709: Support media input for photos image entity add form