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

Using a image (logo) instead of a picture #61

Closed
augusto-garcia opened this issue Jun 12, 2014 · 3 comments
Closed

Using a image (logo) instead of a picture #61

augusto-garcia opened this issue Jun 12, 2014 · 3 comments

Comments

@augusto-garcia
Copy link

Hi.
I am trying to use a image of a logo instead of a picture on some pages. The problem is that this is not working and I only see "feature image" instead of the .jpg image.
The file was exported from svg.
For another file also built from svg, this works, so I assume the problem is not related with the process. I would like to control the image size as well.
The images are

  1. Logo2.jpg (https://dl.dropboxusercontent.com/u/1968009/Logo2.jpg), not working
  2. Logo.jpg (https://dl.dropboxusercontent.com/u/1968009/Logo.jpg), working.
    My goal is to have Logo2.jpg instead of a picture.
    Any suggestion? Thanks.
@mmistakes
Copy link
Owner

Do you have the code somewhere I can look at to diagnose what's going on? An image is an image. The feature image will pull in whatever you specify, just as long as it's in the images folder. I can't remember if I made the theme with externally linked images or not.

It also has some CSS applied to the image wrap to stretch it to fill the screen 100%. So depending on the size of the original it could look fuzzy if it's upscaling it a bunch. The ideal proportions are longer rather than tall, otherwise you might get some screwy results when the CSS stretches everything.

@augusto-garcia
Copy link
Author

The code is from index.md, and the file is on the images folder. I tryed to replace with other files already there and it worked, I mean, the problem only happens with Logo2.jpg. Strange, isn't it? I am not trying to link to external files, I only put them on Dropbox if you want to replicate the problem.

The code:

layout: home
description: "Statistical Genetics Lab, hosted by Department of
Genetics, ESALQ/USP."
tags: [statgen]
image:
feature: Logo2.jpg
credit: augusto garcia

creditlink: http://augusto-garcia.github.io/

@augusto-garcia
Copy link
Author

Ops!
I uploaded the page to github in order to give you a better idea, and it worked there (http://augusto-garcia.github.io/statgen-esalq/). There is something I am missing when running jekyll locally, although it worked for other image files. So, you don't need to waste your time on this. Thanks.

cjmadsen pushed a commit to cjmadsen/cjmadsen.github.io that referenced this issue Dec 7, 2016
Manu343726 pushed a commit to Manu343726/Manu343726.github.io that referenced this issue Sep 17, 2018
Fix broken link to Featured Users
theRealSuperMario pushed a commit to theRealSuperMario/therealsupermario.github.io that referenced this issue Jul 18, 2020
introduces high-level cli tests for evaluation
nweat pushed a commit to nweat/nweat-old-portfolio that referenced this issue Feb 1, 2023
…/postcss-8.4.14

chore(deps-dev): bump postcss from 8.4.12 to 8.4.14
koyumi0601 pushed a commit to koyumi0601/koyumi0601.github.io that referenced this issue Jul 31, 2023
…ndler-tw-2.0.1

Update bundler requirement from ~> 1.17.1 to ~> 2.0.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants