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

Check for missing image #123

Closed
wants to merge 1 commit into from
Closed

Check for missing image #123

wants to merge 1 commit into from

Conversation

dblooman
Copy link
Contributor

When phantom fails to capture an image, it means there are an odd number of images in the folder which causes cropping issues such as #99. The intention is to check for an even number of images in each folder, then add a standard image to ensure cropping doesn't fail.

isvatk7

@JakeChampion
Copy link

If the issue is because Phantom failed. Maybe we should try and figure out why it is failing to render? Also, if we notice an image is missing when we are running through the whole process, could we get wraith to run again for the scenarios that relate to the missing images?

E.G. The filenames are in a consistent format: #{width}_#{engine}_#{domain_label}.png
So if we are missing an image with the name 320_phantom_live, we can then spin up phantom at 320px wide and open the url in the yaml file for the live label.

@dblooman
Copy link
Contributor Author

dblooman commented Apr 7, 2014

This will be fixed by #112

@dblooman dblooman closed this Apr 7, 2014
@dblooman dblooman deleted the even_image branch April 8, 2014 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants