SharePoint Online image rendition is not applying for images7952x5304

Jyoti Rajpurohit 21 Reputation points
2021-06-22T15:38:42.213+00:00

Hi All,

On SharePoint, I am trying to applying image rendition for images 7952x5304. it isn't applying anything always takes image actual size which is 7952x5304

Applying these set of rendition.

108179-image.png

Kindly help me in this ..
Thank You.

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,674 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Echo Du_MSFT 17,161 Reputation points
    2021-06-23T07:17:18.077+00:00

    Hello @Jyoti Rajpurohit ,

    Welcome to Q&A Forum!

    According to my research, Image Renditions is only available for classic SharePoint experiences and cannot exceed 2048*2048, it is by design.

    108457-4.png

    However, you can adopt the following workaround

    1.Upload the image to your SharePoint

    2.Create Wiki Page or Web Part Page in your SharePoint.

    108476-5.png

    3.On the Wiki page, click INSERT >> Embed Code, paste the below code to the Embed pop-up-box.

    <img src="/sites/Echo/Picture/Test.png?Width=7952&amp;Height=5304" />  
    

    108429-6.png

    108465-image.gif

    4.On the Web Part page, click Add a Web Part. Please add the Script Editor webpart and paste the below code to the Embed pop-up-box.

    <img src="/sites/Echo/Picture/Test.png?Width=7952&amp;Height=5304" />  
    

    108502-7.png

    108466-image2.gif

    Thanks,
    Echo Du

    ===========================

    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. Jyoti Rajpurohit 21 Reputation points
    2021-06-23T10:49:28.83+00:00

    Hi @Echo Du_MSFT

    Yes I know we have limitation for Image Renditions, it allows maximum 2048.

    My question is different. let me explain you. I have 2 images

    108613-image.png

    1. 7360x4912
    2. 7952x5304

    So here when I apply image renditions on both the images

    108499-image.png

    See the Result, I applied last image rendition on both images

    Works fine for this

    108584-image.png

    Here didn't applied, shows actual image size

    108599-image.png

    This is the issue here ...

    1: /api/attachments/108604-image.png?platform=QnA 3: /api/attachments/108550-image.png?platform=QnA


  3. Jyoti Rajpurohit 21 Reputation points
    2021-06-24T08:30:28.28+00:00

    Hi @Echo Du_MSFT

    It is sharepoint online, I am trying in content App not sure about custom codes.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.