Skip to Main Content
Feature Request FR-3733
Product Area Page Components
Status OPEN

20 Voters

Image Upload to have Free Aspect Ratio

tcaruth Public
· Apr 11 2024

Idea Summary
Similar to the initialization js function for the rich text editor, I'd like to be able to change some additional options in cropperjs, which I believe is used for the Image Upload type of page item.

Use Case
The cropperjs readme details many options that change the user experience (dragging, zooming, etc). This would also allow some other features to be enabled, like free aspect ratios instead of predefined ones.
https://github.com/fengyuanchen/cropperjs/blob/main/README.md#options

This idea is open.

Comments

Comments

  • vincent morneau Admin OP 1.4 years ago

    Hi @tcaruth , if you have specific features that are supported by the cropperjs library that you would like to use in the Image Upload item, please elaborate. We can consider making them part of the Image Upload declarative options. Giving direct access to JS init code is great for flexibility, but much harder to maintain as we depend on the libraries not introducing breaking changes to our customers.

  • tcaruth OP 1.4 years ago

    @vincent morneau Specifically, I want the ability to use free aspect ratios when cropping instead of predefined ones.

    Today, you can select custom but would need to ask users to type in an aspect ratio and store it in a page item, rather than just using the cropping library drag handles.

  • vincent morneau Admin OP 1.4 years ago

    What if we made Custom Aspect Ratio support item substitutions?

  • tcaruth OP 1.4 years ago

    Supported Substitutions: Application, Page Items and System Variables

    I think it already is supporting those? 

    Typing the aspect ratio into a box feels clunky to users; I want to let users crop their image to whatever looks best to them, without me defining it ahead of time.

  • vincent morneau Admin OP 1.4 years ago

    Now I see, you'd like the aspect ratio to be free, not fixed. That is a valid enhancement to the cropper aspect ratio dropdown. I'll reopen and change the title of this idea.

  • aagrawal OP 1.1 years ago

    I am not able to add image upload function in rich text editor. Any documentation around it?

  • tcaruth OP 1.1 years ago

    @aagrawal I think you'd have better luck on the forums. https://apex.oracle.com/forum

  • aagrawal OP 1.1 years ago

    @tcaruth Thank you.

  • fac586 OP 3 weeks ago

    Supported Substitutions: Application, Page Items and System Variables

    I think it already is supporting those? 

    No it is not: FR-3508

  • tcaruth OP 2 weeks ago

    @fac586 Those are entirely different inputs. I do agree with your FR though, and have voted on it

    This FR is for the aspect ratio, supporting full user selection.