2
0 Comments

Just shipped: Enhanced flexibility for image injection in Doxy

Doxy now offers two methods for incorporating images into your documents: placeholder image replacement and inline image injection. Both methods have advantages, and the best choice for your project depends on your specific needs.

Method A: Placeholder Image Replacement (Image->Image)

This approach is more semantic because it involves directly replacing a placeholder image with your desired image. This offers a few benefits:

  • You can be certain that the injected image will maintain the same size and position as the placeholder, leading to more consistent and predictable document formatting.

  • It's conceptually straightforward: one image replaces another.

  • In terms of performance it is faster than method B

Method B: Inline Image Injection (Text->Image)

Method B, inline image injection, provides more flexibility in cases where images may not have fixed dimensions. You simply place a marker like {{img:my_image}} in your Google Docs template, and Doxy will inject the image in that location.

Key benefits of this method include:

  • You can set a fixed width for the injected image, and Doxy will automatically adjust the height to maintain the original aspect ratio. This is useful for images like product photos or profile pictures that may have varying dimensions.

  • This method can streamline your template design process because you don't have to create and position placeholder images.

In summary:

  • Method A (placeholder image replacement) offers consistency, speed, and a clear visual representation of the image variable.

  • Method B (inline image injection) prioritizes flexibility when working with dynamic images that have varying sizes or aspect ratios.

Doxy's development team listens carefully to user feedback, and they designed this new feature based on requests for more flexible image management options.

Would love to hear you thoughts :)

posted toAvatar for product Doxy
Doxy