Image backgrounds
The app should support full image backgrounds, ideally sourced from https://search.creativecommons.org. Because this is CC, we need to show an attribution for each image as well.
~We could, for now, allow users to add an image url + manually add an attribution.~
I no longer think it makes sense to add special support for cc search, but a feature for image backgrounds would be excellent. This should add a few settings:
- A dropdown for background type (choices are
pattern | image) that defaults topattern - A text input for the image url
- A field to add attribution to the image (this is essential for Creative Commons) which can just be a textarea. We can include a link to https://chooser-beta.creativecommons.org/ in the field description so users can generate an attribution there and paste it in.
The attribution should display in a black box at the bottom of the card, like on this image
can i do this ?
@zackkrida Can I work on this? I am new to this so it would be great if you could guide me in what files to look to solve this issue
Is this issue still open to take? if yes, then can I take it? I am new, so kindly let me know the files to work on
@2001asjad and @mmkm10 thank you for your interest. Zack won't be available until the week of Monday 1/18.
Also given that this CC Search is now in maintenance mode (see Upcoming Changes to the CC Open Source Community — Creative Commons Open Source), this feature will probably focus on allow users to add an image url + manually add an attribution
Is this issue open to work? Can I take this?
Hi @mmkm10, yes this is open, and @TimidRobot is correct in their comments.
I don't think it makes sense to add special support for cc search, but a feature for image backgrounds would be excellent. This should add a few settings:
- A dropdown for background type (choices are
pattern | image) that defaults topattern - A text input for the image url
- A field to add attribution to the image (this is essential for Creative Commons) which can just be a textarea. We can include a link to https://chooser-beta.creativecommons.org/ in the field description so users can generate an attribution there and paste it in.
The attribution should display in a black box at the bottom of the card, like on this image
Let me know if you have any questions! Thanks.
Hello, Is this issue still open? I would like to work on this one.
@CapriciousRebel Sure, all yours! Let me know if you need any help
@zackkrida I'll start work on this issue immediately. Kindly assign this issue to me
can I work upon this issue?
@Gulshanaggarwal I'm currently working on this issue and will make a pr today itself, I'd suggest you work on another open issue... (edit) here is the draft PR: https://github.com/creativecommons/og-image-generator/pull/20
@zackkrida I would sincerely appreciate your inputs on the following questions:
- As requested, I added a dropdown for background type, text input for image URL, and a text area for the attribution, using classes sourced from https://cc-vocabulary.netlify.app/
- The attribution generated from chooser will look something like "my work by me is licensed under CC BY 4.0".
- As suggested in the image provided it should be trimmed down to "my work by me".
- This can be achieved simply by using the inputs from the
attributionfield. - I wanted to know what is to be done with the inputs received from the
background-typeand theimage-urlfields.