DEV Community

Discussion on: Gatsby with WPGraphQL, ACF and Gatbsy-Image

Collapse
 
benoitdubuc profile image
benoitdubuc • Edited

Great post. It helped us a lot to extract images. We were wondering if this could also be used for other types of binary files such as mp3, mp4 or pdf.

Interested in the Polylang too. We have a project where we will use WPML so I am sure it will help and if we find different points, we will share.

Collapse
 
henrikwirth profile image
Henrik Wirth • Edited

Heya, thanks. Glad it helped.

mp3, mp4 and pdf should be the same process. You just have to figure out what kind of media-type it is and then write a resolver for it.

I actually started of with WPML and for some reasons it got super messy. Thats why I switched to Polylang. Would be interesting to see a solution with WPML though.

Collapse
 
benoitdubuc profile image
benoitdubuc

Will sure share with you. Project should start in the next week.

Collapse
 
robmarshall profile image
Robert Marshall

I recently had to build this functionality, so wrote a short article on it. Hopefully can point you in the right direction!

thoughtsandstuff.com/pulling-ordin...