“use strict”;
var positionImage = function positionImage(imageEl) {
var imageDimensions = imageEl.dataset.imageDimensions.split(‘x’);
var originalWidth = imageDimensions[0];
var originalHeight = imageDimensions[1];
var focalPoint = imageEl.dataset.imageFocalPoint.split(‘,’);
var focalPointX = focalPoint[0];
var focalPointY = focalPoint[1];
var parentNode = imageEl.parentNode;
var scale = function () {
var imageRatio = originalWidth / originalHeight;
var parentClientSize = {
height: parentNode.clientHeight,
width: parentNode.clientWidth
};
var parentRatio = parentClientSize.width / parentClientSize.height;
if (imageRatio > parentRatio) {
return parentClientSize.height / originalHeight;
}
return parentClientSize.width / originalWidth;
}();
var getRelativeOffset = function getRelativeOffset() {
var targetWidth = Math.ceil(originalWidth * scale);
var targetHeight = Math.ceil(originalHeight * scale);
var parentDimensionWidth = parentNode.offsetWidth;
var parentDimensionHeight = parentNode.offsetHeight;
var overflowWidth = targetWidth – parentDimensionWidth;
var overflowHeight = targetHeight – parentDimensionHeight;
var valueX;
if (overflowWidth === 0) {
valueX = focalPointX;
} else {
valueX = Math.max(Math.min(targetWidth * focalPointX – parentDimensionWidth * 0.5, overflowWidth), 0) / overflowWidth;
}
var valueY;
if (overflowHeight === 0) {
valueY = focalPointY;
} else {
valueY = Math.max(Math.min(targetHeight * focalPointY – parentDimensionHeight * 0.5, overflowHeight), 0) / overflowHeight;
}
return {
valueX: valueX,
valueY: valueY
};
};
var relativeOffset = getRelativeOffset();
var valueX = relativeOffset.valueX;
var valueY = relativeOffset.valueY;
imageEl.style.objectPosition = “”.concat(valueX * 100, “% “).concat(valueY * 100, “%”);
};
Zines
We have many dreams for what this community book club can be, and what it can do. Creating community-driven content is a part of that.
Thumbing Pages Volume II
May has arrived! And with it, plans for the summer volume of the zine are underway.
Whether you are brilliant at hyper-realistic illustration or just want to write down some thoughts, we would love to include it in our zine.
As with our last issue, sales of the zine will go to funding the BookPool – and towards inviting speakers to come and tell us about their work!
If you want to know any details of the plans we are working on for future events, get in touch. If you want to submit to Volume II, click on the link below!
Further details…
The deadline for submissions is the 10th of June 2021. Why this date in particular? So that we can publish on the summer equinox!
In celebration of the summer, and taking stock of the winter lockdown we got through, the theme of this issue is summer – because who doesn’t like a slice of warmth to go?
You don’t have to have an art degree to get involved, nor a published author – this zine is meant to reflect our community as a whole, so if you are inspired to create something, go ahead and do it! You will be supporting queer people connecting from far and wide! Send your submissions to camlgbtbooks[at]gmail.com
Thumbing Pages Vol. I
We have a zine! Thanks to the immense talent and generosity of our community, we have been able to curate something beautiful. Vol. I includes artwork, poetry, collages, and more.
The zine has now sold out!
If you still wish to request a copy of the zine, fill in the form down below to be added to the waiting list. With enough requests, we will start another printing run, and you can get your hands on our first ever zine!
Waiting List Volume I
Name
First Name
Last Name
Format
Physical
Quantity
Address
Address 1
Address 2
City
State/Province
Zip/Postal Code
Country