Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hello again
Now I want two images replaced this html.
I can not figure out how to write the code?
Has made two media picker, one for a thumnails and one for large image.
It should end up with: click thumnails and large picture appears in the background and thumnails should still be visible
Hi, how about something like:
@{ if (CurrentPage.HasValue("image_1") && CurrentPage.HasValue("stort_img1")) { var largeImage = Umbraco.Media(CurrentPage.image_1); var thumbImage = Umbraco.Media(CurrentPage.stort_img1); <a href="@largeImage.umbracoFile"><img src="@thumbImage.umbracoFile" alt="@thumbImage.Name"/></a> } }
Also, have you considered automating the thumb creation instead of having it manually uploaded?
Thank you so much ;-)
automating the thumb: No, I do not know how it works? do you have a suggestion
There are a few options for you. You could use the built in Image Cropper, however I would recommend the "Image Cropper Extended" package instead which is a improved version of the build in cropper.
Alternatively you could use ImageGen or CropUp
Hi Jeavon thanks for guidance I will try ;-)
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Media Picker two images
Hello again
Now I want two images replaced this html.
I can not figure out how to write the code?
Has made two media picker, one for a thumnails and one for large image.
It should end up with: click thumnails and large picture appears in the background and thumnails should still be visible
Hi, how about something like:
Also, have you considered automating the thumb creation instead of having it manually uploaded?
Thank you so much ;-)
automating the thumb: No, I do not know how it works? do you have a suggestion
There are a few options for you. You could use the built in Image Cropper, however I would recommend the "Image Cropper Extended" package instead which is a improved version of the build in cropper.
Alternatively you could use ImageGen or CropUp
Hi Jeavon thanks for guidance I will try ;-)
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.