Comments (9)
Sure. Actually I believe the only change I made was simply to increase the max_width
setting in _config.yml
. I set mine to 1000px. Since the image preview size is relative to the total width, it automatically increased.
If you look at line 6 of _layouts/bib.html you'll see that the preview is inside a div
with class col-sm-2
. You can increase the number in that class (e.g.: col-sm-3
) and decrease a little the number for the next div.
from al-folio.
Sorry, this is as far as my knowledge on web dev goes 😞. I tried here some solutions but couldn't fix this. Try opening it as a bug/question issue, see if somebody else has a solution. Nice publications btw.
from al-folio.
@george-gca I'm glad you liked them. Thanks for all the help btw 😄
I'm really thankful to Al-folio for making it so much easier to create an academic website....... ❤️
from al-folio.
cc: @george-gca
from al-folio.
Don't you think a better solution would be to allow it to be zoomable, like in the post about images?
from al-folio.
Thanks for introducing this feature. Here's my concise feedback:
-
The zoom feature might not be obvious for all users, especially those unaware of it. Also, users can view full images in a new tab, eliminating the need for zoom. I think the preview image should provide a quick insight, while zooming feels like an extra step.
-
The zoomable image on bib tends to block content and often gets cropped due to its size, making manual image resizing a necessity. I tried to resize it using
<img src=".." height="500">
but doesn't seem to work.
Thus I think larger bib image would be a great addition. Also there seems to be unused space on the right side of the title of publication. Perhaps we could provide authors with an option to choose the preview image size?
from al-folio.
Actually I believe setting the size of the image is more of a per user setting, so this is something that should be applied to a site created from this template rather to be a setting in the template itself. But maybe we could add an option for setting this in the publications page front matter.
But increasing the size doesn't exactly solve the problem with the images. In your case, for example, the texts in the ArtiFact image would probably still be too small unless you increase the size too much. I believe this should be used more like a thumbnail than anything else.
Regarding the zoom, in a PC the mouse changes its cursor to a magnifier, so I believe it is pretty obvious. Also opening in a new tab would be an extra step. Regarding the size, I believe you can tweak it with some css settings.
from al-folio.
@george-gca I saw your site and noticed you were able to reduce the margin (empty space on both sides) also you were able to increase the preview image size in "publication". This is exactly what I am looking for. Could you kindly mention which changes I need to make to do the same?? It will resolve my issue....
from al-folio.
Thanks. I've changed the max_width
and it worked nicely
But for 2nd suggestion preview image doesn't get bigger and papers w/o preview gets misaligned,
You can check the commit
from al-folio.
Related Issues (20)
- Using Slim to minify docker image HOT 14
- Beautify Table of Contents in CV HOT 7
- Enable change the blog position in header
- Deployment to another host domain HOT 2
- Add Jekyll SEO Tag plugin HOT 1
- Add Zotero Socials Link HOT 1
- Year in `news` is clickable but shows the `blog` rather than the news of that year
- Adding giscus comments to project pages HOT 2
- Inconsistent page width between different pages HOT 2
- Change Comments type to Announcements in repo HOT 5
- Mermaid Diagrams in Dark Mode HOT 8
- cv.yml doesn't change the website HOT 1
- How to delete an item in the navbar? HOT 1
- [Question] How to add a project page with a specific link? HOT 1
- Issue deploying on netlify
- An error occurred while installing libv8-node (18.16.0.0), and Bundler cannot continue. HOT 2
- Need to re run docker-compose up after every files change to display results HOT 18
- Webpage icon
- Changing text alignment
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from al-folio.