Skip to content

Support high-res user profile pictures #5

@simonwo

Description

@simonwo

User profile pictures are now supplied in higher-resolution through a separate variable:

On the comic page, and blog display page and possibly, depending on the layout, the blog archive, just search for:

src="[v:l.avatar]"

and replace with:

src="[v:l.pfp]" width="[v:l.pfp_width]" height="[v:l.pfp_height]"

However, depending on your layout, you may also have to adjust your CSS a bit to make these higher res images show up properly. Make sure you test that they show up correctly on mobile and desktop after you did this! If you need help, you can just post in this thread, making sure to include a link to your webcomic.

On some layouts, blog entries also have avatars displayed alongside them. The procedure there almost the same:

on the blog display page, find:

src="[v:avatar]"

and replace with:

src="[v:pfp]" width="[v:pfp_width]" height="[v:pfp_height]"

if you can't find that, your layout probably doesn't display profile pictures for the blog entries, only for the comments

As discussed here: https://comicfury.com/forum/viewthread.php?id=52648

RageRender should support these new variables.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions