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: Allow zoomSrc different than src #3390

Closed
melloware opened this issue Sep 29, 2022 · 0 comments · Fixed by #3391 or #3394
Closed

Image: Allow zoomSrc different than src #3390

melloware opened this issue Sep 29, 2022 · 0 comments · Fixed by #3391 or #3394
Assignees
Labels
Type: New Feature Issue contains a new feature or new component request
Milestone

Comments

@melloware
Copy link
Member

melloware commented Sep 29, 2022

Describe the feature you would like to see added

If you want to add Thumbnail like behavior where the image you click on is SMALL and the Preview is the full size image.

Similar to PFE ImageZoom component: https://www.primefaces.org/showcase-ext/sections/imagezoom/basicZoom.jsf

Is your feature request related to a problem?

NO

Describe the solution you'd like

<h5>Thumbnail</h5>
<Image src={`${contextPath}/images/galleria/galleria14s.jpg`} 
     zoomSrc={`${contextPath}/images/galleria/galleria14.jpg`} 
     alt="Image" width="80" height="60" preview />
@melloware melloware added Type: New Feature Issue contains a new feature or new component request Status: Discussion Issue or pull request needs to be discussed by Core Team labels Sep 29, 2022
@github-actions github-actions bot added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Sep 29, 2022
@melloware melloware removed Status: Discussion Issue or pull request needs to be discussed by Core Team Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Sep 29, 2022
@melloware melloware self-assigned this Sep 29, 2022
@melloware melloware added this to the 8.6.2 milestone Sep 29, 2022
melloware added a commit to melloware/primereact that referenced this issue Sep 29, 2022
melloware added a commit to melloware/primereact that referenced this issue Sep 30, 2022
@melloware melloware changed the title Image: Allow previewSrc different than src Image: Allow zoomSrc different than src Sep 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: New Feature Issue contains a new feature or new component request
Projects
None yet
1 participant